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
CborException
protected int nextSymbol() throws CborException
CborException
protected long getLength(int initialByte) throws CborException
CborException
protected BigInteger getLengthAsBigInteger(int initialByte) throws CborException
CborException
Copyright © 2014. All Rights Reserved.