| Constructor and Description |
|---|
BinaryDecoder(InputStream input) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public BinaryDecoder(InputStream input)
public Object readNull() throws IOException
DecoderreadNull in interface DecodernullIOExceptionpublic boolean readBool()
throws IOException
readBool in interface DecoderIOExceptionpublic int readInt()
throws IOException
readInt in interface DecoderIOExceptionpublic long readLong()
throws IOException
readLong in interface DecoderIOExceptionpublic float readFloat()
throws IOException
readFloat in interface DecoderIOExceptionpublic double readDouble()
throws IOException
readDouble in interface DecoderIOExceptionpublic String readString() throws IOException
readString in interface DecoderIOExceptionpublic ByteBuffer readBytes() throws IOException
readBytes in interface DecoderIOExceptionpublic void skipFloat()
throws IOException
DecoderskipFloat in interface DecoderIOExceptionpublic void skipDouble()
throws IOException
DecoderskipDouble in interface DecoderIOExceptionpublic void skipString()
throws IOException
DecoderskipString in interface DecoderIOExceptionpublic void skipBytes()
throws IOException
DecoderskipBytes in interface DecoderIOExceptionCopyright © 2019 CDAP Licensed under the Apache License, Version 2.0.