public abstract static class BitPacking.BitPackingWriter extends Object
Constructor and Description |
---|
BitPackingWriter() |
Modifier and Type | Method and Description |
---|---|
abstract void |
finish()
will flush the buffer to the underlying stream (and pad with 0s)
|
abstract void |
write(int val)
will write the bits to the underlying stream aligned on the buffer size
|
public abstract void write(int val) throws IOException
val
- the value to encodeIOException
public abstract void finish() throws IOException
IOException
Copyright © 2015. All rights reserved.