Uses of Class
co.nstant.in.cbor.CborException
Package | Description |
---|---|
co.nstant.in.cbor | |
co.nstant.in.cbor.decoder | |
co.nstant.in.cbor.encoder | |
co.nstant.in.cbor.model |
-
Uses of CborException in co.nstant.in.cbor
Methods in co.nstant.in.cbor that throw CborException Modifier and Type Method Description List<DataItem>
CborDecoder. decode()
Decode theInputStream
to a list ofDataItem
s.static List<DataItem>
CborDecoder. decode(byte[] bytes)
Convenience method to decode a byte array directly.void
CborDecoder. decode(DataItemListener dataItemListener)
Streaming decoding of an input stream.DataItem
CborDecoder. decodeNext()
Decodes exactly one DataItem from the input stream.void
CborEncoder. encode(DataItem dataItem)
Encode a singleDataItem
.void
CborEncoder. encode(List<DataItem> dataItems)
Encode a list ofDataItem
s, also known as a stream. -
Uses of CborException in co.nstant.in.cbor.decoder
Methods in co.nstant.in.cbor.decoder that throw CborException Modifier and Type Method Description abstract T
AbstractDecoder. decode(int initialByte)
Array
ArrayDecoder. decode(int initialByte)
ByteString
ByteStringDecoder. decode(int initialByte)
DoublePrecisionFloat
DoublePrecisionFloatDecoder. decode(int initialByte)
HalfPrecisionFloat
HalfPrecisionFloatDecoder. decode(int initialByte)
Map
MapDecoder. decode(int initialByte)
NegativeInteger
NegativeIntegerDecoder. decode(int initialByte)
SinglePrecisionFloat
SinglePrecisionFloatDecoder. decode(int initialByte)
Special
SpecialDecoder. decode(int initialByte)
Tag
TagDecoder. decode(int initialByte)
UnicodeString
UnicodeStringDecoder. decode(int initialByte)
UnsignedInteger
UnsignedIntegerDecoder. decode(int initialByte)
protected long
AbstractDecoder. getLength(int initialByte)
protected BigInteger
AbstractDecoder. getLengthAsBigInteger(int initialByte)
protected int
AbstractDecoder. nextSymbol()
protected byte[]
AbstractDecoder. nextSymbols(int amount)
-
Uses of CborException in co.nstant.in.cbor.encoder
Methods in co.nstant.in.cbor.encoder that throw CborException Modifier and Type Method Description abstract void
AbstractEncoder. encode(T dataItem)
void
ArrayEncoder. encode(Array array)
void
ByteStringEncoder. encode(ByteString byteString)
void
DoublePrecisionFloatEncoder. encode(DoublePrecisionFloat dataItem)
void
HalfPrecisionFloatEncoder. encode(HalfPrecisionFloat dataItem)
void
MapEncoder. encode(Map map)
void
NegativeIntegerEncoder. encode(NegativeInteger dataItem)
void
SinglePrecisionFloatEncoder. encode(SinglePrecisionFloat dataItem)
void
SpecialEncoder. encode(Special dataItem)
void
TagEncoder. encode(Tag tag)
void
UnicodeStringEncoder. encode(UnicodeString dataItem)
void
UnsignedIntegerEncoder. encode(UnsignedInteger dataItem)
protected void
AbstractEncoder. encodeTypeAndLength(MajorType majorType, long length)
protected void
AbstractEncoder. encodeTypeAndLength(MajorType majorType, BigInteger length)
protected void
AbstractEncoder. encodeTypeChunked(MajorType majorType)
protected void
AbstractEncoder. write(byte... bytes)
protected void
AbstractEncoder. write(int b)
-
Uses of CborException in co.nstant.in.cbor.model
Constructors in co.nstant.in.cbor.model that throw CborException Constructor Description RationalNumber(Number numerator, Number denominator)