USUAL_EXTENSION| Constructor and Description |
|---|
MemBitSetBuffer()
Constructor (64 bits).
|
MemBitSetBuffer(MemBitSetBuffer copy)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
align()
Not Implemented.
|
void |
close()
Not Implemented.
|
byte |
getBitOffset()
Not Implemented.
|
long |
getByteOffset()
Not Implemented.
|
int |
readBinary(int len)
Not Implemented.
|
int |
readDelta()
Not Implemented.
|
int |
readGamma()
Gamma decoding.
|
int |
readGolomb(int b)
Not Implemented.
|
void |
readInterpolativeCoding(int[] data,
int offset,
int len,
int lo,
int hi)
Not Implemented.
|
int |
readMinimalBinary(int b)
Not Implemented.
|
int |
readMinimalBinaryZero(int b)
Not Implemented.
|
int |
readSkewedGolomb(int b)
Not Implemented.
|
int |
readUnary()
Unary decoding.
|
void |
skipBits(int len)
Not Implemented.
|
void |
skipBytes(long len)
Not Implemented.
|
int |
writeBinary(int len,
int x)
Not Implemented.
|
int |
writeDelta(int x)
Not Implemented.
|
int |
writeGamma(int n)
Gamma encoding.
|
int |
writeGolomb(int x,
int b)
Not Implemented.
|
int |
writeInt(int x,
int len)
Not Implemented.
|
int |
writeInterpolativeCode(int[] data,
int offset,
int len,
int lo,
int hi)
Not Implemented.
|
int |
writeMinimalBinary(int x,
int b)
Not Implemented.
|
int |
writeSkewedGolomb(int x,
int b)
Not Implemented.
|
int |
writeUnary(int n)
Unary encoding.
|
public MemBitSetBuffer()
public MemBitSetBuffer(MemBitSetBuffer copy)
public int writeUnary(int n)
writeUnary in interface BitOutn - the number to writepublic int writeGamma(int n)
writeGamma in interface BitOutn - the int number to writepublic int readUnary()
public int readGamma()
public int readBinary(int len)
throws IOException
readBinary in interface BitInlen - the number of binary bits to readIOException - if an I/O error occurspublic int readMinimalBinary(int b)
throws IOException
readMinimalBinary in interface BitInb - the upper boundIOException - if an I/O error occurspublic int readMinimalBinaryZero(int b)
throws IOException
readMinimalBinaryZero in interface BitInb - the upper boundIOException - if an I/O error occurspublic int readGolomb(int b)
throws IOException
readGolomb in interface BitInb - the golomb modulusIOException - if and I/O error occurspublic int readSkewedGolomb(int b)
throws IOException
readSkewedGolomb in interface BitInIOException - if an I/O error occurspublic int readDelta()
throws IOException
readDelta in interface BitInIOException - if an I/O error occurspublic void readInterpolativeCoding(int[] data,
int offset,
int len,
int lo,
int hi)
throws IOException
readInterpolativeCoding in interface BitIndata - the result vectoroffset - offset where to write in the vectorlen - the number of integers to decode.lo - a lower bound (the same one passed to writeInterpolativeCoding)hi - an upper bound (the same one passed to writeInterpolativeCoding)IOException - if an I/O error occurspublic void skipBits(int len)
throws IOException
skipBits in interface BitInlen - The number of bits to skipIOException - if an I/O error occurspublic void skipBytes(long len)
throws IOException
skipBytes in interface BitInlen - The number of bytes to skipIOException - if an I/O error occurspublic void align()
throws IOException
align in interface BitInIOException - if an I/O error occurspublic long getByteOffset()
getByteOffset in interface BitIngetByteOffset in interface BitOutpublic byte getBitOffset()
getBitOffset in interface BitIngetBitOffset in interface BitOutpublic int writeBinary(int len,
int x)
throws IOException
writeBinary in interface BitOutlen - size in bits of the number.x - the integer to write.IOException - if an I/O error occurs.public int writeInterpolativeCode(int[] data,
int offset,
int len,
int lo,
int hi)
throws IOException
writeInterpolativeCode in interface BitOutdata - the vector containing the integer sequence.offset - the offset into data where the sequence starts.len - the number of integers to code.lo - a lower bound (must be smaller than or equal to the first integer in the sequence).hi - an upper bound (must be greater than or equal to the last integer in the sequence).IOException - if an I/O error occurs.public int writeSkewedGolomb(int x,
int b)
throws IOException
writeSkewedGolomb in interface BitOutx - the number to writeb - the parameter for golomb codingIOException - if and I/O error occurspublic int writeGolomb(int x,
int b)
throws IOException
writeGolomb in interface BitOutx - the number to writeb - the parameter for golomb codingIOException - if and I/O error occurspublic int writeMinimalBinary(int x,
int b)
throws IOException
writeMinimalBinary in interface BitOutx - the number to writeb - and strict bound for xIOException - if an I/O error occurs.public int writeDelta(int x)
throws IOException
writeDelta in interface BitOutx - the int number to writeIOException - if an I/O error occurs.public int writeInt(int x,
int len)
throws IOException
writeInt in interface BitOutx - the int to writelen - length of the int in bitsIOException - if an I/O error occurs.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionTerrier 4.0. Copyright © 2004-2014 University of Glasgow