Decodes the encoded data using the schema.
Optional
tag?: TlvTagEncodes the value using the schema.
Optional
options: TlvEncodingOptionsOptional
tag: TlvTagOptional validator that can be used to enforce constraints on the data before encoding / after decoding.
Schema to encode an byte string or an Utf8 string in TLV.
See
MatterSpecification.v10.Core § A.11.2