public final class Utf32Reader extends Reader
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
mBuffer |
protected InputStream |
mIn |
protected int |
mLength |
protected int |
mPtr |
| Constructor and Description |
|---|
Utf32Reader(ReaderConfig cfg,
InputStream in,
byte[] buf,
int ptr,
int len,
boolean isBigEndian) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
freeBuffers() |
int |
read()
Although this method is implemented by the base class, AND it should
never be called by Woodstox code, let's still implement it bit more
efficiently just in case
|
int |
read(char[] cbuf,
int start,
int len) |
protected void |
reportBounds(char[] cbuf,
int start,
int len) |
protected void |
reportStrangeStream() |
protected InputStream mIn
protected byte[] mBuffer
protected int mPtr
protected int mLength
public Utf32Reader(ReaderConfig cfg, InputStream in, byte[] buf, int ptr, int len, boolean isBigEndian)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionpublic int read()
throws IOException
read in class ReaderIOExceptionpublic int read(char[] cbuf,
int start,
int len)
throws IOException
read in class ReaderIOExceptionpublic final void freeBuffers()
protected void reportBounds(char[] cbuf,
int start,
int len)
throws IOException
IOExceptionprotected void reportStrangeStream()
throws IOException
IOExceptionCopyright © 2018 FasterXML. All rights reserved.