Instance Method

initWithTag:value:

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

Declaration

- (instancetype)initWithTag:(TKTLVTag)tag value:(NSData *)value;

Parameters

tag

The tag field of the record.

value

The value field of the record.

Return Value

A new TLV record containing the specified tag and value fields.

See Also

Creating TLV Records

- initWithTag:records:

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

TKTLVTag

The type used to identify TLV format tags.