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 - if there is an exception while writingpublic abstract void finish()
throws IOException
IOException - if there is an exception while finishingCopyright © 2018 The Apache Software Foundation. All rights reserved.