txt: ## utf8.md
  class utf8
  
  Mutable uint8 buffer for utf8 binary data
  
  ```raku
  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.
  
  ```raku
  my utf8 $b = "hello".encode;
  say $b[1].fmt("0x%X"); # OUTPUT: «0x65␤»
  ```
  
  # [Typegraph](# "go to top of document")[§](#typegraphrelations "direct link")
  
  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](/assets/typegraphs/utf8.svg)
  