core :: Char :: bytes
self
assert 'a'.bytes == [0x61] assert 'ま'.bytes == [0xE3, 0x81, 0xBE]
# Returns a sequence with the UTF-8 bytes of `self` # # ~~~ # assert 'a'.bytes == [0x61] # assert 'ま'.bytes == [0xE3, 0x81, 0xBE] # ~~~ fun bytes: SequenceRead[Int] do return to_s.bytes