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 LittleEndianInput
public int getReadIndex()
public byte readByte()
readByte
in interface LittleEndianInput
public int readInt()
readInt
in interface LittleEndianInput
public long readLong()
readLong
in interface LittleEndianInput
public short readShort()
readShort
in interface LittleEndianInput
public int readUByte()
readUByte
in interface LittleEndianInput
public int readUShort()
readUShort
in interface LittleEndianInput
public void readFully(byte[] buf, int off, int len)
readFully
in interface LittleEndianInput
public void readFully(byte[] buf)
readFully
in interface LittleEndianInput
public double readDouble()
readDouble
in interface LittleEndianInput
Copyright © 2020. All rights reserved.