public final class LittleEndianByteArrayInputStream extends Object implements LittleEndianInput
LittleEndianInput| Constructor and Description |
|---|
LittleEndianByteArrayInputStream(byte[] buf) |
LittleEndianByteArrayInputStream(byte[] buf,
int startOffset) |
LittleEndianByteArrayInputStream(byte[] buf,
int startOffset,
int maxReadLen) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
getReadIndex() |
byte |
readByte() |
double |
readDouble() |
void |
readFully(byte[] buf) |
void |
readFully(byte[] buf,
int off,
int len) |
int |
readInt() |
long |
readLong() |
short |
readShort() |
int |
readUByte() |
int |
readUShort() |
public LittleEndianByteArrayInputStream(byte[] buf,
int startOffset,
int maxReadLen)
public LittleEndianByteArrayInputStream(byte[] buf,
int startOffset)
public LittleEndianByteArrayInputStream(byte[] buf)
public int available()
available in interface LittleEndianInputpublic int getReadIndex()
public byte readByte()
readByte in interface LittleEndianInputpublic int readInt()
readInt in interface LittleEndianInputpublic long readLong()
readLong in interface LittleEndianInputpublic short readShort()
readShort in interface LittleEndianInputpublic int readUByte()
readUByte in interface LittleEndianInputpublic int readUShort()
readUShort in interface LittleEndianInputpublic void readFully(byte[] buf,
int off,
int len)
readFully in interface LittleEndianInputpublic void readFully(byte[] buf)
readFully in interface LittleEndianInputpublic double readDouble()
readDouble in interface LittleEndianInputCopyright © 2020. All rights reserved.