public class FourFlagsIntDecoder extends IntDecoder
FourFlagsIntEncoder. Scans
the indicator, one flag (1-bits) at a time, and decodes extra
data using VInt8IntDecoder.FourFlagsIntEncoderEOS, in| Constructor and Description |
|---|
FourFlagsIntDecoder() |
| Modifier and Type | Method and Description |
|---|---|
long |
decode()
Decodes data received from the input stream, and returns one decoded
integer.
|
void |
reInit(InputStream in)
Sets the input stream from which the encoded data is read.
|
String |
toString() |
public long decode()
throws IOException
IntDecoderIntDecoder.EOS is returned.decode in class IntDecoderIntDecoder.EOS if end-of-stream
reached.IOException - if an I/O error occurspublic void reInit(InputStream in)
IntDecoderreInit in class IntDecoder