|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectco.cask.tigon.io.BinaryDecoder
public final class BinaryDecoder
An Decoder for binary-format data.
| Constructor Summary | |
|---|---|
BinaryDecoder(InputStream input)
|
|
| Method Summary | |
|---|---|
boolean |
readBool()
|
ByteBuffer |
readBytes()
|
double |
readDouble()
|
float |
readFloat()
|
int |
readInt()
|
long |
readLong()
|
Object |
readNull()
Returns a null value. |
String |
readString()
|
void |
skipBytes()
Skips a byte array. |
void |
skipDouble()
Skips a double. |
void |
skipFloat()
Skips a float. |
void |
skipString()
Skips the a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BinaryDecoder(InputStream input)
| Method Detail |
|---|
public Object readNull()
throws IOException
Decoder
readNull in interface Decodernull
IOException
public boolean readBool()
throws IOException
readBool in interface DecoderIOException
public int readInt()
throws IOException
readInt in interface DecoderIOException
public long readLong()
throws IOException
readLong in interface DecoderIOException
public float readFloat()
throws IOException
readFloat in interface DecoderIOException
public double readDouble()
throws IOException
readDouble in interface DecoderIOException
public String readString()
throws IOException
readString in interface DecoderIOException
public ByteBuffer readBytes()
throws IOException
readBytes in interface DecoderIOException
public void skipFloat()
throws IOException
Decoder
skipFloat in interface DecoderIOException
public void skipDouble()
throws IOException
Decoder
skipDouble in interface DecoderIOException
public void skipString()
throws IOException
Decoder
skipString in interface DecoderIOException
public void skipBytes()
throws IOException
Decoder
skipBytes in interface DecoderIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||