---
title: CFByteOrderGetCurrent()
framework: corefoundation
role: symbol
role_heading: Function
path: corefoundation/cfbyteordergetcurrent()
---

# CFByteOrderGetCurrent()

Returns the byte order of the current computer.

## Declaration

```swift
func CFByteOrderGetCurrent() -> CFByteOrder
```

## Return Value

Return Value The byte order of the current computer. See CFByteOrder for the list of possible return values.

## See Also

### Core Foundation Byte Order Utilities Miscellaneous Functions

- [CFConvertDoubleHostToSwapped(_:)](corefoundation/cfconvertdoublehosttoswapped(_:).md)
- [CFConvertDoubleSwappedToHost(_:)](corefoundation/cfconvertdoubleswappedtohost(_:).md)
- [CFConvertFloat32HostToSwapped(_:)](corefoundation/cfconvertfloat32hosttoswapped(_:).md)
- [CFConvertFloat32SwappedToHost(_:)](corefoundation/cfconvertfloat32swappedtohost(_:).md)
- [CFConvertFloat64HostToSwapped(_:)](corefoundation/cfconvertfloat64hosttoswapped(_:).md)
- [CFConvertFloat64SwappedToHost(_:)](corefoundation/cfconvertfloat64swappedtohost(_:).md)
- [CFConvertFloatHostToSwapped(_:)](corefoundation/cfconvertfloathosttoswapped(_:).md)
- [CFConvertFloatSwappedToHost(_:)](corefoundation/cfconvertfloatswappedtohost(_:).md)
- [CFSwapInt16(_:)](corefoundation/cfswapint16(_:).md)
- [CFSwapInt16BigToHost(_:)](corefoundation/cfswapint16bigtohost(_:).md)
- [CFSwapInt16HostToBig(_:)](corefoundation/cfswapint16hosttobig(_:).md)
- [CFSwapInt16HostToLittle(_:)](corefoundation/cfswapint16hosttolittle(_:).md)
- [CFSwapInt16LittleToHost(_:)](corefoundation/cfswapint16littletohost(_:).md)
- [CFSwapInt32(_:)](corefoundation/cfswapint32(_:).md)
- [CFSwapInt32BigToHost(_:)](corefoundation/cfswapint32bigtohost(_:).md)
