GenericTlv

data class GenericTlv(tag: Long, value: ByteVector) : Tlv

Generic tlv type we fallback to if we don't understand the incoming tlv.

Parameters

tag

tlv tag.

value

tlv value (length is implicit, and encoded as a varint).

Constructors

GenericTlv
Link copied to clipboard
common
fun GenericTlv(tag: Long, value: ByteVector)

Functions

write
Link copied to clipboard
common
open fun write(): ByteArray
open override fun write(out: Output)

Properties

tag
Link copied to clipboard
common
open override val tag: Long
value
Link copied to clipboard
common
val value: ByteVector