A representation of this integer with the byte order swapped.
SDK
- Xcode 6.0.1+
Framework
- Swift Standard Library
Declaration
var byteSwapped: Int { get }
A representation of this integer with the byte order swapped.
SDK
Framework
var byteSwapped: Int { get }
var littleEndian : Int
The little-endian representation of this integer.
var bigEndian : Int
The big-endian representation of this integer.
init(littleEndian : Int)
Creates an integer from its little-endian representation, changing the byte order if necessary.
init(bigEndian : Int)
Creates an integer from its big-endian representation, changing the byte order if necessary.