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 encodeIOExceptionpublic abstract void finish()
throws IOException
IOExceptionCopyright © 2015. All rights reserved.