Uses of Class
co.nstant.in.cbor.model.DataItem
-
Packages that use 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 DataItemCborDecoder. 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 theInputStreamto a list ofDataItems.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 CborBuilderCborBuilder. add(DataItem dataItem)protected voidCborBuilder. addChunk(DataItem dataItem)voidCborEncoder. encode(DataItem dataItem)Encode a singleDataItem.voidDataItemListener. onDataItem(DataItem dataItem)Gets called on every decodedDataItem.Method parameters in co.nstant.in.cbor with type arguments of type DataItem Modifier and Type Method Description voidCborEncoder. encode(List<DataItem> dataItems)Encode a list ofDataItems, also known as a stream. -
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 DataItemAbstractBuilder. convert(boolean value)protected DataItemAbstractBuilder. convert(byte[] bytes)protected DataItemAbstractBuilder. convert(double value)protected DataItemAbstractBuilder. convert(float value)protected DataItemAbstractBuilder. convert(long value)protected DataItemAbstractBuilder. convert(String string)protected DataItemAbstractBuilder. 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 voidAbstractBuilder. 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)MapBuilder<MapBuilder<T>>MapBuilder. startMapNotChunked(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 classAbstractFloatclassArrayclassByteStringclassDoublePrecisionFloatclassHalfPrecisionFloatclassLanguageTaggedStringSee https://peteroupc.github.io/CBOR/langtags.htmlclassMapclassNegativeIntegerclassNumberclassRationalNumberRational Numbers: http://peteroupc.github.io/CBOR/rational.htmlclassSimpleValueclassSinglePrecisionFloatclassSpecialclassTagclassUnicodeStringclassUnsignedIntegerMethods in co.nstant.in.cbor.model that return DataItem Modifier and Type Method Description DataItemMap. get(DataItem key)DataItemDataItem. getOuterTaggable()DataItemArray. peekLast()DataItemMap. 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()Methods in co.nstant.in.cbor.model with parameters of type DataItem Modifier and Type Method Description ArrayArray. add(DataItem object)DataItemMap. get(DataItem key)MapMap. put(DataItem key, DataItem value)DataItemMap. remove(DataItem key)
-