Field Detail

DUMMY_CODER

Method Detail

encode

Encodes the given value onto the specified output stream.
It have to be able to encode the given stream consequently by calling this method repeatedly.
Because the user can want to keep a single output stream and continuously concatenate elements,
the output stream should not be closed.

decode

Decodes the a value from the given input stream.
It have to be able to decode the given stream consequently by calling this method repeatedly.
Because there are many elements in the input stream, the stream should not be closed.