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