public interface Decoder
| 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.
|
Object readNull() throws IOException
nullIOExceptionboolean readBool()
throws IOException
IOExceptionint readInt()
throws IOException
IOExceptionlong readLong()
throws IOException
IOExceptionfloat readFloat()
throws IOException
IOExceptiondouble readDouble()
throws IOException
IOExceptionString readString() throws IOException
IOExceptionByteBuffer readBytes() throws IOException
IOExceptionvoid skipFloat()
throws IOException
IOExceptionvoid skipDouble()
throws IOException
IOExceptionvoid skipString()
throws IOException
IOExceptionvoid skipBytes()
throws IOException
IOExceptionCopyright © 2019 CDAP Licensed under the Apache License, Version 2.0.