MapBuilder
Map builder.
Functions
Link copied to clipboard
Puts a new value in the map
Link copied to clipboard
Puts a new array in the map.
Link copied to clipboard
fun <T> MapBuilder<T>.putCborArray(key: Long, builderAction: ArrayBuilder<MapBuilder<T>>.() -> Unit)
fun <T> MapBuilder<T>.putCborArray(key: String, builderAction: ArrayBuilder<MapBuilder<T>>.() -> Unit)
fun <T> MapBuilder<T>.putCborArray(key: DataItem, builderAction: ArrayBuilder<MapBuilder<T>>.() -> Unit)
Adds the DataItem for a CBOR array produced by the given builder action to a CBOR map.
Link copied to clipboard
fun <T> MapBuilder<T>.putCborMap(key: DataItem, builderAction: MapBuilder<MapBuilder<T>>.() -> Unit)
Adds the DataItem for a CBOR map produced by the given builder action to a CBOR map.
Link copied to clipboard
Puts a new map in the map.
Link copied to clipboard
Link copied to clipboard
Puts a tagged bstr with encoded CBOR in the map.