public class PacketReader extends Object
Constructor and Description |
---|
PacketReader(byte[] data) |
PacketReader(byte[] data,
int ep) |
Modifier and Type | Method and Description |
---|---|
int |
getParseStateIndex() |
int |
getRemainingBytes() |
boolean |
hasUnprocessedBytes() |
byte[] |
readBlob(int length) |
byte[] |
readBlobRemain() |
double |
readDouble() |
float |
readFloat() |
BigInteger |
readInt(boolean signed) |
byte |
readSByte() |
int |
readSInt() |
long |
readSLong() |
short |
readSShort() |
String |
readString() |
short |
readUByte() |
int |
readUShort() |
long |
readVsint() |
BigInteger |
readVsNumber() |
long |
readVuint() |
BigInteger |
readVuNumber() |
void |
setParseStateIndex(int index) |
public PacketReader(byte[] data)
public PacketReader(byte[] data, int ep)
public int getParseStateIndex()
public void setParseStateIndex(int index)
public int getRemainingBytes()
public byte readSByte()
public short readUByte()
public long readVuint()
public long readVsint()
public BigInteger readInt(boolean signed)
public byte[] readBlob(int length)
public byte[] readBlobRemain()
public String readString()
public short readSShort()
public int readSInt()
public long readSLong()
public float readFloat()
public double readDouble()
public BigInteger readVsNumber()
public BigInteger readVuNumber()
public int readUShort()
public boolean hasUnprocessedBytes()
Copyright © 2020. All rights reserved.