<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 12.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/nw_txt_record_access_bytes_t",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "c:@T@nw_txt_record_access_bytes_t"
  },
  "title" : "nw_txt_record_access_bytes_t"
}
-->

# nw_txt_record_access_bytes_t

A block that provides access to the raw bytes of a TXT record.

```
typealias nw_txt_record_access_bytes_t = (UnsafePointer<UInt8>, Int) -> Bool
```

## Return Value

The return value is passed back to the caller of [`nw_txt_record_access_bytes(_:_:)`](/documentation/Network/nw_txt_record_access_bytes(_:_:)).

## Discussion

---

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)