public interface Coder
Modifier and Type | Method and Description |
---|---|
it.unimi.dsi.fastutil.booleans.BooleanIterator |
encode(int symbol)
Encodes a symbol.
|
int |
encode(int symbol,
OutputBitStream obs)
Encodes a symbol.
|
it.unimi.dsi.fastutil.booleans.BooleanIterator |
flush()
Flushes the coder.
|
int |
flush(OutputBitStream obs)
Flushes the coder.
|
it.unimi.dsi.fastutil.booleans.BooleanIterator encode(int symbol)
symbol
- a symbol.symbol
.int encode(int symbol, OutputBitStream obs) throws IOException
symbol
- a symbol.obs
- the output bit stream where the encoded symbol will be written.IOException
int flush(OutputBitStream obs)
flush
obs
.obs
- the output bit stream where the flushing bits will be written.it.unimi.dsi.fastutil.booleans.BooleanIterator flush()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.