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 little Endian: IntThe little-endian representation of this integer.
var big Endian: IntThe big-endian representation of this integer.
init(little Endian: Int)Creates an integer from its little-endian representation, changing the byte order if necessary.
init(big Endian: Int)Creates an integer from its big-endian representation, changing the byte order if necessary.