Package co.nstant.in.cbor.decoder
Class NegativeIntegerDecoder
- java.lang.Object
-
- co.nstant.in.cbor.decoder.AbstractDecoder<NegativeInteger>
-
- co.nstant.in.cbor.decoder.NegativeIntegerDecoder
-
public class NegativeIntegerDecoder extends AbstractDecoder<NegativeInteger>
-
-
Field Summary
-
Fields inherited from class co.nstant.in.cbor.decoder.AbstractDecoder
decoder, INFINITY, inputStream
-
-
Constructor Summary
Constructors Constructor Description NegativeIntegerDecoder(CborDecoder decoder, InputStream inputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NegativeInteger
decode(int initialByte)
-
Methods inherited from class co.nstant.in.cbor.decoder.AbstractDecoder
getLength, getLengthAsBigInteger, nextSymbol, nextSymbols, setMaxPreallocationSize
-
-
-
-
Constructor Detail
-
NegativeIntegerDecoder
public NegativeIntegerDecoder(CborDecoder decoder, InputStream inputStream)
-
-
Method Detail
-
decode
public NegativeInteger decode(int initialByte) throws CborException
- Specified by:
decode
in classAbstractDecoder<NegativeInteger>
- Throws:
CborException
-
-