public abstract class AbstractDecoder<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected CborDecoder |
decoder |
protected static int |
INFINITY |
protected InputStream |
inputStream |
| Constructor and Description |
|---|
AbstractDecoder(CborDecoder decoder,
InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
decode(int initialByte) |
protected long |
getLength(int initialByte) |
protected BigInteger |
getLengthAsBigInteger(int initialByte) |
protected int |
nextSymbol() |
protected static final int INFINITY
protected final InputStream inputStream
protected final CborDecoder decoder
public AbstractDecoder(CborDecoder decoder, InputStream inputStream)
public abstract T decode(int initialByte) throws CborException
CborExceptionprotected int nextSymbol()
throws CborException
CborExceptionprotected long getLength(int initialByte)
throws CborException
CborExceptionprotected BigInteger getLengthAsBigInteger(int initialByte) throws CborException
CborExceptionCopyright © 2014. All Rights Reserved.