<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CryptoTokenKit",
  "identifier" : "/documentation/CryptoTokenKit/TKTLVRecord/sequenceOfRecords(from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "CryptoTokenKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TKTLVRecord(cm)sequenceOfRecordsFromData:"
  },
  "title" : "sequenceOfRecords(from:)"
}
-->

# sequenceOfRecords(from:)

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

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)