public interface RandomAccess extends ArrayDataInput
BITS_OF_1_BYTE, BITS_OF_2_BYTES, BITS_OF_3_BYTES, BITS_OF_4_BYTES, BITS_OF_5_BYTES, BITS_OF_6_BYTES, BITS_OF_7_BYTES, BYTE_1_OF_LONG_MASK, BYTE_2_OF_LONG_MASK, BYTE_3_OF_LONG_MASK, BYTE_4_OF_LONG_MASK, BYTE_MASK, BYTES_IN_BOOLEAN, BYTES_IN_BYTE, BYTES_IN_CHAR, BYTES_IN_DOUBLE, BYTES_IN_FLOAT, BYTES_IN_INTEGER, BYTES_IN_LONG, BYTES_IN_SHORT, DEFAULT_BUFFER_SIZE, HIGH_INTEGER_MASK, INTEGER_MASK, SHORT_MASK, SHORT_OF_LONG_MASK
Modifier and Type | Method and Description |
---|---|
long |
getFilePointer() |
void |
seek(long offsetFromStart)
Move to a specified location in the stream.
|
mark, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, readArray, readFully, readLArray, reset, skip, skipAllBytes, skipAllBytes
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
long getFilePointer()
void seek(long offsetFromStart) throws IOException
offsetFromStart
- set the offset messured from the startIOException
- if the operation failsCopyright © 1996–2016 nom-tam-fits. All rights reserved.