fast_gbk library
An instance of the default implementation of the GbkCodec.
This instance provides a convenient access to the most common GBK use cases.
Examples:
List<int> encoded = gbk.encode("¤§¨°±");
String decoded = gbk.decode([0xA1,0xE8,0xA1,0xEC,
0xA1,0xA7,0xA1,0xE3,0xA1,0xC0]);
Classes
- GbkCodec
- A GbkCodec encodes strings to GBK code units (bytes) and decodes GBK code units to strings.
- GbkDecoder
- This class converts GBK code units (lists of unsigned 8-bit integers) to a string.
- GbkEncoder
- This class converts strings to their GBK code units (a list of unsigned 8-bit integers).