org.apache.batik.util.io
public class UTF16Decoder extends AbstractCharDecoder
| Field Summary | |
|---|---|
| protected boolean | bigEndian
Whether the stream's byte-order is big-endian. |
| Constructor Summary | |
|---|---|
| UTF16Decoder(InputStream is)
Creates a new UTF16Decoder.
| |
| UTF16Decoder(InputStream is, boolean be)
Creates a new UTF16Decoder. | |
| Method Summary | |
|---|---|
| int | readChar()
Reads the next character. |
Parameters: is The stream to decode.
Parameters: is The stream to decode. be Whether or not the given stream's byte-order is big-endian.
Returns: a character or END_OF_STREAM.