public interface FSTDecoder
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
Class |
classForName(String name) |
void |
close() |
Object |
coerceElement(Class arrType,
Object value) |
void |
consumeEndMarker() |
int |
ensureReadAhead(int bytes) |
byte[] |
getBuffer() |
Object |
getDirectObject() |
int |
getInputPos() |
int |
getObjectHeaderLen() |
boolean |
inArray()
return wether current stream is reading an object or sequence currently
makes sense for MinBin and JSon only, only Json serializer actually has implemented it
|
boolean |
isEndMarker(String s) |
boolean |
isMapBased() |
void |
moveTo(int position) |
void |
pushBack(int bytes) |
void |
readArrayEnd(FSTClazzInfo clzSerInfo) |
Object |
readArrayHeader() |
FSTClazzInfo |
readClass() |
void |
readExternalEnd() |
byte |
readFByte() |
char |
readFChar() |
double |
readFDouble() |
float |
readFFloat() |
int |
readFInt() |
void |
readFIntArr(int len,
int[] arr) |
long |
readFLong() |
Object |
readFPrimitiveArray(Object array,
Class componentType,
int len) |
short |
readFShort() |
int |
readIntByte() |
void |
readObjectEnd() |
byte |
readObjectHeaderTag() |
void |
readPlainBytes(byte[] b,
int off,
int len) |
int |
readPlainInt() |
String |
readStringAsc() |
String |
readStringUTF() |
int |
readVersionTag() |
void |
registerClass(Class possible) |
void |
reset() |
void |
resetToCopyOf(byte[] bytes,
int off,
int len) |
void |
resetWith(byte[] bytes,
int len) |
void |
setConf(FSTConfiguration conf) |
void |
setInputStream(InputStream in) |
void |
skip(int n) |
void |
startFieldReading(Object newObj)
quirks for json unknown decoding.
|
void setConf(FSTConfiguration conf)
String readStringUTF() throws IOException
IOExceptionString readStringAsc() throws IOException
IOExceptionvoid readFIntArr(int len,
int[] arr)
throws IOException
IOExceptionint readFInt()
throws IOException
IOExceptiondouble readFDouble()
throws IOException
IOExceptionfloat readFFloat()
throws IOException
IOExceptionbyte readFByte()
throws IOException
IOExceptionint readIntByte()
throws IOException
IOExceptionlong readFLong()
throws IOException
IOExceptionchar readFChar()
throws IOException
IOExceptionshort readFShort()
throws IOException
IOExceptionint readPlainInt()
throws IOException
IOExceptionbyte[] getBuffer()
int getInputPos()
void moveTo(int position)
void setInputStream(InputStream in)
int ensureReadAhead(int bytes)
void reset()
void resetToCopyOf(byte[] bytes,
int off,
int len)
void resetWith(byte[] bytes,
int len)
FSTClazzInfo readClass() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionClass classForName(String name) throws ClassNotFoundException
ClassNotFoundExceptionvoid registerClass(Class possible)
void close()
void skip(int n)
void readPlainBytes(byte[] b,
int off,
int len)
byte readObjectHeaderTag()
throws IOException
IOExceptionint getObjectHeaderLen()
boolean isMapBased()
Object getDirectObject()
void consumeEndMarker()
Object readArrayHeader() throws IOException, ClassNotFoundException, Exception
void readExternalEnd()
boolean isEndMarker(String s)
int readVersionTag()
throws IOException
IOExceptionvoid pushBack(int bytes)
void readArrayEnd(FSTClazzInfo clzSerInfo)
void readObjectEnd()
int available()
boolean inArray()
void startFieldReading(Object newObj)
newObj - Copyright © 2017. All rights reserved.