CodeInput that reads from a short[].
| Modifier and Type | Field and Description |
|---|---|
| private final short[] | array
source array to read from |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | hasMore()
Implements org. |
| public int | |
| public int | readInt()
Implements org. int.
|
| public long | readLong()
Implements org. long.
|
| array | back to summary |
|---|---|
| private final short[] array source array to read from | |
| ShortArrayCodeInput | back to summary |
|---|---|
| public ShortArrayCodeInput(short[] array) Constructs an instance. | |
| hasMore | back to summary |
|---|---|
| public boolean hasMore() Implements org. Doc from org. Returns whether there are any more code units to read. This
is analogous to | |
| read | back to summary |
|---|---|
| public int read() throws EOFException Implements org. Doc from org. Reads a code unit. | |
| readInt | back to summary |
|---|---|
| public int readInt() throws EOFException Implements org. Doc from org. Reads two code units, treating them as a little-endian | |
| readLong | back to summary |
|---|---|
| public long readLong() throws EOFException Implements org. Doc from org. Reads four code units, treating them as a little-endian | |