Skip to content

encodeFields

encodeFields(pairs): string

Defined in: payload/dist/tlv.d.ts:21

Encode an array of [tag, value] pairs in registration order. Empty or null/undefined values are filtered out so callers can compose optional fields without an if chain.

readonly readonly [string, string | null | undefined][]

string