Class Charset.Decoder
- Description
Virtual base class for charset decoders.
Decoders take a stream of bytes and convert them to a (possibly wide) string of Unicode code points.
- Example
string win1252_to_string( string(8bit) data ) { return Charset.decoder("windows-1252")->feed( data )->drain(); }
- See also