encoding/utf8/utf8 library

Classes

ASCIIDecoder
Decodes ASCII bytes to a Dart String - one character per byte, since every ASCII byte maps directly to a single UTF-16 code unit.
ASCIIEncoder
Encodes a Dart String to ASCII bytes - one byte per character, since every valid ASCII character is already a single UTF-16 code unit <= 0x7F.
UTF8Decoder
Decodes UTF-8 bytes to a Dart String.
UTF8Encoder
Encodes a Dart String (UTF-16) to UTF-8 bytes.