CharsetDecoder
Class CharsetDecoder
- java.lang.Object
-
- java.nio.charset.CharsetDecoder
public abstract class CharsetDecoder extends Object
An engine that can transform a sequence of bytes in a specific charset into a sequence of sixteen-bit Unicode characters.
The input byte sequence is provided in a byte buffer or a series of such buffers. The output character sequence is written to a character buffer or a series of such buffers. A decoder should always be used by making the following sequence of method invocations, hereinafter referred to as a decoding operation:
Reset the decoder via the
reset
method, unless it has not been used before;