| Modifier and Type | Method and Description |
|---|---|
boolean |
hasRemaining() |
byte |
readByte() |
long |
readLongLE() |
static ByteArrayInput |
wrap(byte[] array) |
static ByteArrayInput |
wrap(byte[] array,
int offset,
int length) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadDoubleLEpublic static ByteArrayInput wrap(byte[] array, int offset, int length)
public static ByteArrayInput wrap(byte[] array)
public final boolean hasRemaining()
hasRemaining in interface Inputpublic final byte readByte()
throws java.io.EOFException
readByte in interface Inputjava.io.EOFException - iff a prior call to Input.hasRemaining() would have returned
falsepublic final long readLongLE()
throws java.io.IOException
readLongLE in interface Inputjava.io.EOFException - iff there are fewer than 8 remaining bytes to readjava.io.IOException