public class TypesReader extends Object
Constructor and Description |
---|
TypesReader(byte[] arr) |
TypesReader(byte[] arr,
int off) |
TypesReader(byte[] arr,
int off,
int len) |
Modifier and Type | Method and Description |
---|---|
boolean |
readBoolean() |
int |
readByte() |
void |
readBytes(byte[] dst,
int off,
int len) |
byte[] |
readBytes(int len) |
byte[] |
readByteString() |
BigInteger |
readMPINT() |
String[] |
readNameList() |
String |
readString() |
String |
readString(String charsetName) |
int |
readUINT32() |
long |
readUINT64() |
int |
remain() |
public TypesReader(byte[] arr)
public TypesReader(byte[] arr, int off)
public TypesReader(byte[] arr, int off, int len)
public int readByte() throws IOException
IOException
public byte[] readBytes(int len) throws IOException
IOException
public void readBytes(byte[] dst, int off, int len) throws IOException
IOException
public boolean readBoolean() throws IOException
IOException
public int readUINT32() throws IOException
IOException
public long readUINT64() throws IOException
IOException
public BigInteger readMPINT() throws IOException
IOException
public byte[] readByteString() throws IOException
IOException
public String readString(String charsetName) throws IOException
IOException
public String readString() throws IOException
IOException
public String[] readNameList() throws IOException
IOException
public int remain()
Copyright © 2021. All rights reserved.