public class UTF8Decoder extends AbstractCharDecoder
Modifier and Type | Field and Description |
---|---|
protected int |
nextChar
The next char, in case of a 4 bytes sequence.
|
protected static byte[] |
UTF8_BYTES
The number of bytes of a UTF-8 sequence indexed by the first
byte of the sequence.
|
buffer, BUFFER_SIZE, count, inputStream, position
END_OF_STREAM
Constructor and Description |
---|
UTF8Decoder(java.io.InputStream is)
Creates a new UTF8Decoder.
|
Modifier and Type | Method and Description |
---|---|
int |
readChar()
Reads the next character.
|
charError, dispose, endOfStreamError, fillBuffer
protected static final byte[] UTF8_BYTES
protected int nextChar
Copyright © 2022 Apache Software Foundation. All Rights Reserved.