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

A 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␤»

Typegraph§

Type relations for utf8
raku-type-graph utf8 utf8 Any Any utf8->Any Blob Blob utf8->Blob Mu Mu Any->Mu Positional Positional Stringy Stringy Blob->Positional Blob->Stringy

Expand chart above