| 构造器和说明 |
|---|
ByteUtil.AssitRead(byte[] data) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCurpos() |
boolean |
hasMore() |
byte |
readByte() |
byte[] |
readBytes(int length) |
byte[] |
readRest()
读剩余字节
|
String |
readStringEndNull() |
String |
readStringUnsignedLong() |
UnsignedLong |
readUnsignedLong()
首个字节的值小于251用一个byte存储,如果值大于251,fc + 2-byte ,fd + 3-byte integer,fe +
8-byte
|
void |
skip(int length) |
public int getCurpos()
public byte[] readBytes(int length)
public byte readByte()
public boolean hasMore()
public String readStringEndNull() throws IOException
IOExceptionpublic UnsignedLong readUnsignedLong()
public String readStringUnsignedLong()
public byte[] readRest()
public void skip(int length)
Copyright © 2017. All rights reserved.