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.