Type Method

data(forTag:)

Encodes a specified tag using BER-TLV tag encoding rules.

Declaration

class func data(forTag tag: TKTLVTag) -> Data

Parameters

tag

The tag value to encode.

Return Value

A data object that encodes a tag value using BER-TLV encoding.