public class MessageReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
length |
Constructor and Description |
---|
MessageReader(byte[] data) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
boolean |
readBool()
Reads a boolean value from the stream.
|
float |
readF32()
Reads a floating point value.
|
double |
readF64()
Reads a double value.
|
short |
readI16() |
int |
readI32() |
long |
readI64() |
byte |
readI8() |
java.lang.String |
readString() |
int |
readU16() |
long |
readU32() |
java.math.BigInteger |
readU64() |
short |
readU8() |
void |
rewind() |
void |
skip(int bytes) |
public int available()
public void rewind()
public void skip(int bytes)
public byte readI8()
public short readU8()
public short readI16()
public int readU16()
public int readI32()
public long readU32()
public long readI64()
public java.math.BigInteger readU64()
public java.lang.String readString()
public boolean readBool()
public float readF32()
public double readF64()