|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Coder
Coding methods for a specific compression technique.
| Method Summary | |
|---|---|
BooleanIterator |
encode(int symbol)
Encodes a symbol. |
int |
encode(int symbol,
OutputBitStream obs)
Encodes a symbol. |
BooleanIterator |
flush()
Flushes the coder. |
int |
flush(OutputBitStream obs)
Flushes the coder. |
| Method Detail |
|---|
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.
IOExceptionint flush(OutputBitStream obs)
flush obs.
obs - the output bit stream where the flushing bits will be written.
BooleanIterator flush()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||