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(java.io.InputStream in)
Sets the input stream from which the encoded data is read.
|
java.lang.String |
toString() |
public long decode()
throws java.io.IOException
IntDecoderIntDecoder.EOS is returned.decode in class IntDecoderIntDecoder.EOS if end-of-stream
reached.java.io.IOException - if an I/O error occurspublic void reInit(java.io.InputStream in)
IntDecoderreInit in class IntDecoderpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.