Initializer

init(tag:records:)

Initializes a BER-TLV record with the specified tag and an array of TLV subrecords.

Declaration

init(tag: TKTLVTag, records: [TKTLVRecord])

Parameters

tag

The tag field of the record.

records

The TLV subrecords of the record.

Return Value

A new TLV record containing the specified tag field and subrecords.

See Also

Creating TLV Records

init(tag: TKTLVTag, value: Data)

Initializes a BER-TLV record with the specified tag and value.

typealias TKTLVTag

The type used to identify TLV format tags.