map

fun <K, V> map(mp: Map<K, V>, Kserializer: (K) -> BCHserialized, Vserializer: (V) -> BCHserialized, format: SerializationType = SerializationType.UNKNOWN): BCHserialized

Serializes a map object with the provided key and value serialization functions


fun map(mp: Map<out BCHserializable, BCHserializable>, format: SerializationType = SerializationType.UNKNOWN): BCHserialized

Serializes a map object that contains serializable keys and values