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 Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
public int read() throws IOException
read
in class Reader
IOException
public int read(char[] cbuf, int start, int len) throws IOException
read
in class Reader
IOException
public final void freeBuffers()
protected void reportBounds(char[] cbuf, int start, int len) throws IOException
IOException
protected void reportStrangeStream() throws IOException
IOException
Copyright © 2018 FasterXML. All rights reserved.