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
IOExceptionpublic byte[] readBytes(int len)
throws IOException
IOExceptionpublic void readBytes(byte[] dst,
int off,
int len)
throws IOException
IOExceptionpublic boolean readBoolean()
throws IOException
IOExceptionpublic int readUINT32()
throws IOException
IOExceptionpublic long readUINT64()
throws IOException
IOExceptionpublic BigInteger readMPINT() throws IOException
IOExceptionpublic byte[] readByteString()
throws IOException
IOExceptionpublic String readString(String charsetName) throws IOException
IOExceptionpublic String readString() throws IOException
IOExceptionpublic String[] readNameList() throws IOException
IOExceptionpublic int remain()
Copyright © 2014. All rights reserved.