public final class FSTInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
byte[] |
buf |
static ThreadLocal<byte[]> |
cachedBuffer |
int |
chunk_size |
int |
count |
int |
off |
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 |
initFromStream(InputStream in) |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
void |
pop() |
void |
push(byte[] inb,
int newpos,
int newCount) |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
readpublic int chunk_size
public static ThreadLocal<byte[]> cachedBuffer
public byte[] buf
public int pos
public int off
public int count
public FSTInputStream(InputStream in) throws IOException
IOExceptionpublic FSTInputStream(byte[] buf)
public FSTInputStream(byte[] buf,
int offset,
int length)
public void initFromStream(InputStream in) throws IOException
IOExceptionpublic void ensureCapacity(int siz)
public void push(byte[] inb,
int newpos,
int newCount)
public void pop()
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 InputStreamIOExceptionCopyright © 2014. All rights reserved.