## 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
    --- | --- | ---
    `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 the `InputStream` to a list of `DataItem`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 single `DataItem`.
    `void` | DataItemListener.`onDataItem​(DataItem dataItem)` | Gets called on every decoded `DataItem`.

    Method parameters in co.nstant.in.cbor with type arguments of type DataItem
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CborEncoder.`encode​(List<DataItem> dataItems)` | Encode a list of `DataItem`s, 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 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)` |
    `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
    --- | --- | ---
    `class` | `AbstractFloat` |
    `class` | `Array` |
    `class` | `ByteString` |
    `class` | `DoublePrecisionFloat` |
    `class` | `HalfPrecisionFloat` |
    `class` | `LanguageTaggedString` | See https://peteroupc.github.io/CBOR/langtags.html
    `class` | `Map` |
    `class` | `NegativeInteger` |
    `class` | `Number` |
    `class` | `RationalNumber` | Rational Numbers: http://peteroupc.github.io/CBOR/rational.html
    `class` | `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()` |

    Methods in co.nstant.in.cbor.model with parameters of type DataItem
    Modifier and Type | Method | Description
    --- | --- | ---
    `Array` | Array.`add​(DataItem object)` |
    `DataItem` | Map.`get​(DataItem key)` |
    `Map` | Map.`put​(DataItem key, DataItem value)` |
    `DataItem` | Map.`remove​(DataItem key)` |