public abstract class IntDecoder
extends java.lang.Object
InputStream. For re-usability, the
decoder's input stream can be set by (reInit(InputStream)).
By design, Decoders are NOT thread-safe.| Modifier and Type | Field and Description |
|---|---|
static long |
EOS
A special long value which is used to indicate end-of-stream has reached.
|
protected java.io.InputStream |
in
Input stream from which the encoded bytes are read
|
| Constructor and Description |
|---|
IntDecoder() |
public static final long EOS
protected java.io.InputStream in
public void reInit(java.io.InputStream in)
public abstract long decode()
throws java.io.IOException
EOS is returned.EOS if end-of-stream
reached.java.io.IOException - if an I/O error occurs