public interface BitInSeekable extends Closeable
BitIn implementation
that allows access to the encoded integers. Several implementations exist:
BitFileBuffered - buffers an amount of data starting that the specified offset.BitFile - buffers the pre-specified amount starting and ending as specified. This implementation can also be used for reading. This class is deprecated.BitFileInMemory - reads the entire file into memory. File must be less than Integer.MAX_VALUE (2GB).BitFileInMemoryLarge - reads the entire file into memory. File size only constrained by available memory.BitFileBuffered,
BitOut,
BitIn| Modifier and Type | Method and Description |
|---|---|
BitIn |
readReset(long startByteOffset,
byte startBitOffset)
Reads from the file a specific number of bytes and after this
call, a sequence of read calls may follow.
|
BitIn |
readReset(long startByteOffset,
byte startBitOffset,
long endByteOffset,
byte endBitOffset)
Reads from the file a specific number of bytes and after this
call, a sequence of read calls may follow.
|
BitIn readReset(long startByteOffset, byte startBitOffset, long endByteOffset, byte endBitOffset) throws IOException
startByteOffset - the starting byte to read fromstartBitOffset - the bit offset in the starting byteendByteOffset - the ending byteendBitOffset - the bit offset in the ending byte.
This bit is the last bit of this entry.IOExceptionBitIn readReset(long startByteOffset, byte startBitOffset) throws IOException
startByteOffset - the starting byte to read fromstartBitOffset - the bit offset in the starting byteIOExceptionTerrier 4.0. Copyright © 2004-2014 University of Glasgow