Uses of Class
co.nstant.in.cbor.model.DataItem
Package | Description |
---|---|
co.nstant.in.cbor | |
co.nstant.in.cbor.builder | |
co.nstant.in.cbor.model |
-
Uses of DataItem in co.nstant.in.cbor
Methods in co.nstant.in.cbor that return DataItem Modifier and Type Method Description DataItem
CborDecoder. decodeNext()
Decodes exactly one DataItem from the input stream.Methods in co.nstant.in.cbor that return types with arguments of type DataItem Modifier and Type Method Description List<DataItem>
CborBuilder. build()
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.Methods in co.nstant.in.cbor with parameters of type DataItem Modifier and Type Method Description CborBuilder
CborBuilder. add(DataItem dataItem)
protected void
CborBuilder. addChunk(DataItem dataItem)
void
CborEncoder. encode(DataItem dataItem)
Encode a singleDataItem
.void
DataItemListener. onDataItem(DataItem dataItem)
Gets called on every decodedDataItem
. -
Uses of DataItem in co.nstant.in.cbor.builder
Methods in co.nstant.in.cbor.builder that return DataItem Modifier and Type Method Description protected DataItem
AbstractBuilder. convert(boolean value)
protected DataItem
AbstractBuilder. convert(byte[] bytes)
protected DataItem
AbstractBuilder. convert(double value)
protected DataItem
AbstractBuilder. convert(float value)
protected DataItem
AbstractBuilder. convert(long value)
protected DataItem
AbstractBuilder. convert(String string)
protected DataItem
AbstractBuilder. convert(BigInteger value)
Methods in co.nstant.in.cbor.builder with parameters of type DataItem Modifier and Type Method Description ArrayBuilder<T>
ArrayBuilder. add(DataItem dataItem)
protected void
AbstractBuilder. addChunk(DataItem dataItem)
MapBuilder<T>
MapBuilder. put(DataItem key, DataItem value)
ArrayBuilder<MapBuilder<T>>
MapBuilder. putArray(DataItem key)
MapBuilder<MapBuilder<T>>
MapBuilder. putMap(DataItem key)
ArrayBuilder<MapBuilder<T>>
MapBuilder. startArray(DataItem key)
MapBuilder<MapBuilder<T>>
MapBuilder. startMap(DataItem key)
Constructors in co.nstant.in.cbor.builder with parameters of type DataItem Constructor Description MapEntryBuilder(T parent, DataItem key)
-
Uses of DataItem in co.nstant.in.cbor.model
Subclasses of DataItem in co.nstant.in.cbor.model Modifier and Type Class Description class
AbstractFloat
class
Array
class
ByteString
class
DoublePrecisionFloat
class
HalfPrecisionFloat
class
LanguageTaggedString
See https://peteroupc.github.io/CBOR/langtags.htmlclass
Map
class
NegativeInteger
class
Number
class
RationalNumber
Rational Numbers: http://peteroupc.github.io/CBOR/rational.htmlclass
SimpleValue
class
SinglePrecisionFloat
class
Special
class
Tag
class
UnicodeString
class
UnsignedInteger
Methods in co.nstant.in.cbor.model that return DataItem Modifier and Type Method Description DataItem
Map. get(DataItem key)
DataItem
DataItem. getOuterTaggable()
DataItem
Array. peekLast()
DataItem
Map. remove(DataItem key)
Methods in co.nstant.in.cbor.model that return types with arguments of type DataItem Modifier and Type Method Description List<DataItem>
Array. getDataItems()
Collection<DataItem>
Map. getKeys()
Collection<DataItem>
Map. getValues()