public final class FSTInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
byte[] |
buf |
boolean |
byteBacked |
static ThreadLocal<byte[]> |
cachedBuffer |
int |
chunk_size |
int |
count |
int |
pos |
| Constructor and Description |
|---|
FSTInputStream(byte[] buf) |
FSTInputStream(byte[] buf,
int offset,
int length) |
FSTInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
ensureCapacity(int siz) |
void |
ensureReadAhead(int bytes) |
void |
initFromStream(InputStream in) |
boolean |
isFullyRead() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
readNextChunk(InputStream in) |
void |
reset() |
void |
resetForReuse(byte[] b,
int length) |
long |
skip(long n) |
readpublic int chunk_size
public static ThreadLocal<byte[]> cachedBuffer
public byte[] buf
public int pos
public int count
public boolean byteBacked
public FSTInputStream(InputStream in)
public FSTInputStream(byte[] buf)
public FSTInputStream(byte[] buf,
int offset,
int length)
public void resetForReuse(byte[] b,
int length)
public void initFromStream(InputStream in)
public boolean isFullyRead()
public void readNextChunk(InputStream in)
public void ensureCapacity(int siz)
public int read()
read in class InputStreampublic int read(byte[] b,
int off,
int len)
read in class InputStreampublic long skip(long n)
skip in class InputStreampublic int available()
available in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic void mark(int readAheadLimit)
mark in class InputStreampublic void reset()
reset in class InputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void ensureReadAhead(int bytes)
Copyright © 2015. All rights reserved.