Tlv Stream Serializer
fun <T : Tlv> TlvStreamSerializer(lengthPrefixed: Boolean, readers: Map<Long, TlvValueReader<T>>)
Content copied to clipboard
Parameters
length Prefixed
if true, the first bytes contain the total length of the serialized stream.
readers
custom readers that will be used to read tlv values.