public class BitInCodec extends BitInBase
USUAL_EXTENSION| Constructor and Description |
|---|
BitInCodec() |
BitInCodec(byte[] input) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
incrByte()
Move forward one byte.
|
protected void |
incrByte(int i)
Move forward i bytes.
|
void |
setup(ByteIn in,
int bytes) |
void |
skipBytes(long len)
Skip a number of bytes while reading the bit file.
|
align, getBitOffset, getByteOffset, readBinary, readDelta, readGamma, readGolomb, readIn, readInterpolativeCoding, readMinimalBinary, readMinimalBinaryZero, readSkewedGolomb, readUnary, skipBitspublic void skipBytes(long len)
throws IOException
BitInlen - The number of bytes to skipIOException - if an I/O error occurspublic void close()
throws IOException
IOExceptionprotected final void incrByte()
throws IOException
BitInBaseincrByte in class BitInBaseIOExceptionprotected final void incrByte(int i)
throws IOException
BitInBaseincrByte in class BitInBaseIOExceptionpublic final void setup(ByteIn in, int bytes) throws IOException
IOExceptionTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow