Contents

sequenceOfRecords(from:)

Creates and returns an array of TLV records from the specified data.

Declaration

class func sequenceOfRecords(from data: Data) -> [TKTLVRecord]?

Parameters

  • data:

    A data object containing the serialized representation of zero or more TLV records.

Return Value

A sequence of TLV records, or nil if data does not specify a sequence of valid records.

See Also

Creating Records