Instance Method

initWithTag:records:

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

Declaration

- (instancetype)initWithTag:(TKTLVTag)tag records:(NSArray<TKTLVRecord *> *)records;

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

- initWithTag:value:

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

TKTLVTag

The type used to identify TLV format tags.