public final class UTF8Reader extends Reader
byte[] buffer or
InputStream.| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canModifyBuffer()
Method that can be used to see if we can actually modify the
underlying buffer.
|
void |
close() |
static UTF8Reader |
construct(byte[] buf,
int ptr,
int len) |
static UTF8Reader |
construct(com.fasterxml.jackson.core.io.IOContext ctxt,
InputStream in,
boolean autoClose) |
int |
read() |
int |
read(char[] cbuf) |
int |
read(char[] cbuf,
int start,
int len) |
protected int |
readBytes() |
protected int |
readBytesAt(int offset) |
protected void |
reportBounds(char[] cbuf,
int start,
int len) |
protected void |
reportStrangeStream() |
public static UTF8Reader construct(com.fasterxml.jackson.core.io.IOContext ctxt, InputStream in, boolean autoClose)
public static UTF8Reader construct(byte[] buf, int ptr, int len)
protected final boolean canModifyBuffer()
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)
throws IOException
read in class ReaderIOExceptionpublic int read(char[] cbuf,
int start,
int len)
throws IOException
read in class ReaderIOExceptionprotected final int readBytes()
throws IOException
IOExceptionprotected final int readBytesAt(int offset)
throws IOException
IOExceptionprotected void reportBounds(char[] cbuf,
int start,
int len)
throws IOException
IOExceptionprotected void reportStrangeStream()
throws IOException
IOExceptionCopyright © 2022 FasterXML. All rights reserved.