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, skipBits
public void skipBytes(long len) throws IOException
BitIn
len
- The number of bytes to skipIOException
- if an I/O error occurspublic void close() throws IOException
IOException
protected final void incrByte() throws IOException
BitInBase
incrByte
in class BitInBase
IOException
protected final void incrByte(int i) throws IOException
BitInBase
incrByte
in class BitInBase
IOException
public final void setup(ByteIn in, int bytes) throws IOException
IOException
Terrier 4.0. Copyright © 2004-2014 University of Glasgow