LittleEndianInput
| Access | Constructor and Description |
|---|---|
| public | LittleEndianByteArrayInputStream(byte[]
the input buffer. buf, int the offset in the buffer of the first byte to read. offset, int the maximum number of bytes to read from the buffer. length)Creates |
| public | LittleEndianByteArrayInputStream(byte[]
the input buffer. buf, int the offset in the buffer of the first byte to read. offset)Creates |
| public | LittleEndianByteArrayInputStream(byte[]
the input buffer. buf)Creates a |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public int | |
| public void | limit(int
the new limit - is truncated to length of internal buffer size)Change the limit of the ByteArrayInputStream |
| public byte | |
| public double | |
| public void | readFully(byte[] buffer, int off, int len)
Implements org.
|
| public void | |
| public int | |
| public long | |
| public void | readPlain(byte[]
the byte array to receive the bytes buf, int the start offset into the byte array off, int the amount of bytes to fill len)Implements org. Usually acts the same as |
| public short | |
| public int | |
| public long | |
| public int | |
| public void |
| LittleEndianByteArrayInputStream | back to summary |
|---|---|
| public LittleEndianByteArrayInputStream(byte[] buf, int offset, int length) Creates
| |
| LittleEndianByteArrayInputStream | back to summary |
|---|---|
| public LittleEndianByteArrayInputStream(byte[] buf, int offset) Creates
| |
| LittleEndianByteArrayInputStream | back to summary |
|---|---|
| public LittleEndianByteArrayInputStream(byte[] buf) Creates a
| |
| checkPosition | back to summary |
|---|---|
| protected void checkPosition(int i) | |
| getReadIndex | back to summary |
|---|---|
| public int getReadIndex() | |
| limit | back to summary |
|---|---|
| public void limit(int size) Change the limit of the ByteArrayInputStream
| |
| readByte | back to summary |
|---|---|
| public byte readByte() Implements org.
| |
| readDouble | back to summary |
|---|---|
| public double readDouble() Implements org.
| |
| readFully | back to summary |
|---|---|
| public void readFully(byte[] buffer, int off, int len) Implements org.
| |
| readFully | back to summary |
|---|---|
| public void readFully(byte[] buffer) Implements org.
| |
| readInt | back to summary |
|---|---|
| public int readInt() Implements org.
| |
| readLong | back to summary |
|---|---|
| public long readLong() Implements org.
| |
| readPlain | back to summary |
|---|---|
| public void readPlain(byte[] buf, int off, int len) Implements org. Doc from org. Usually acts the same as
| |
| readShort | back to summary |
|---|---|
| public short readShort() Implements org.
| |
| readUByte | back to summary |
|---|---|
| public int readUByte() Implements org.
| |
| readUInt | back to summary |
|---|---|
| public long readUInt() | |
| readUShort | back to summary |
|---|---|
| public int readUShort() Implements org.
| |
| setReadIndex | back to summary |
|---|---|
| public void setReadIndex(int pos) | |