<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFByteOrder",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@T@CFByteOrder"
  },
  "title" : "CFByteOrder"
}
-->

# CFByteOrder

Flags that identify byte order.

```
typealias CFByteOrder = CFIndex
```

## Topics

### Constants

[`CFByteOrderUnknown`](/documentation/CoreFoundation/CFByteOrderUnknown)

The byte order is unknown.

[`CFByteOrderLittleEndian`](/documentation/CoreFoundation/CFByteOrderLittleEndian)

Multi-byte values are stored with the least-significant bytes stored first. Pentium CPUs are little endian.

[`CFByteOrderBigEndian`](/documentation/CoreFoundation/CFByteOrderBigEndian)

Multi-byte values are stored with the most-significant bytes stored first. PowerPC CPUs are big endian.



---

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)