An engine that can transform a sequence of bytes in a specific charset into a sequence of sixteen-bit Unicode characters.
An engine that can transform a sequence of sixteen-bit Unicode characters into a sequence of bytes in a specific charset.
An engine that can transform a sequence of sixteen-bit Unicode characters into a sequence of bytes in a specific charset.
Important: an encoder instance is stateful, as it internally tracks the state of the current encoding operation.
reset
method must be used to reset the decoder before using it
again on a new sequence of characters
An engine that can transform a sequence of bytes in a specific charset into a sequence of sixteen-bit Unicode characters.
Important: a decoder instance is stateful, as it internally tracks the state of the current decoding operation.
reset
method must be used to reset the decoder before using it again on a new sequence of bytes