=begin pod :kind("Type") :subkind("class") :category("composite")

=TITLE class utf8

=SUBTITLE Mutable uint8 buffer for utf8 binary data

    class utf8 does Blob[uint8] is repr('VMArray') {}

A C<utf8> is a subtype of Blob which is specifically uint8 data for holding UTF-8
encoded text.

    my utf8 $b = "hello".encode;
    say $b[1].fmt("0x%X"); # OUTPUT: «0x65␤»

=end pod

# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
