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
Decoder
readNull
in interface Decoder
null
IOException
public boolean readBool() throws IOException
readBool
in interface Decoder
IOException
public int readInt() throws IOException
readInt
in interface Decoder
IOException
public long readLong() throws IOException
readLong
in interface Decoder
IOException
public float readFloat() throws IOException
readFloat
in interface Decoder
IOException
public double readDouble() throws IOException
readDouble
in interface Decoder
IOException
public String readString() throws IOException
readString
in interface Decoder
IOException
public ByteBuffer readBytes() throws IOException
readBytes
in interface Decoder
IOException
public void skipFloat() throws IOException
Decoder
skipFloat
in interface Decoder
IOException
public void skipDouble() throws IOException
Decoder
skipDouble
in interface Decoder
IOException
public void skipString() throws IOException
Decoder
skipString
in interface Decoder
IOException
public void skipBytes() throws IOException
Decoder
skipBytes
in interface Decoder
IOException
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.