Creates an integer from its big-endian representation, changing the byte order if necessary.
SDK
- Xcode 7.1+
Framework
- Swift Standard Library
Declaration
Parameters
value
A value to use as the big-endian representation of the new integer.
Creates an integer from its big-endian representation, changing the byte order if necessary.
SDK
Framework
value
A value to use as the big-endian representation of the new integer.
var byte Swapped: Int
A representation of this integer with the byte order swapped.
var little Endian: Int
The little-endian representation of this integer.
var big Endian: Int
The big-endian representation of this integer.
init(little Endian: Int)
Creates an integer from its little-endian representation, changing the byte order if necessary.