public class PlainBufferInputStream extends Object
构造器和说明 |
---|
PlainBufferInputStream(byte[] buffer) |
PlainBufferInputStream(ByteBuffer buffer) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
checkLastTagWas(int tag) |
int |
getLastTag() |
boolean |
isAtEnd() |
boolean |
readBoolean() |
byte[] |
readBytes(int size) |
double |
readDouble() |
long |
readInt64() |
byte |
readRawByte() |
int |
readRawLittleEndian32() |
long |
readRawLittleEndian64() |
int |
readTag() |
int |
readUInt32() |
String |
readUTFString(int size) |
String |
toString() |
public PlainBufferInputStream(ByteBuffer buffer)
public PlainBufferInputStream(byte[] buffer)
public boolean isAtEnd()
public int readTag() throws IOException
IOException
public boolean checkLastTagWas(int tag)
public int getLastTag()
public byte readRawByte() throws IOException
IOException
public long readRawLittleEndian64() throws IOException
IOException
public int readRawLittleEndian32() throws IOException
IOException
public boolean readBoolean() throws IOException
IOException
public double readDouble() throws IOException
IOException
public int readUInt32() throws IOException
IOException
public long readInt64() throws IOException
IOException
public byte[] readBytes(int size) throws IOException
IOException
public String readUTFString(int size) throws IOException
IOException
Copyright © 2017. All Rights Reserved.