Instance Property

byteSwapped

A representation of this integer with the byte order swapped.

Declaration

var byteSwapped: Int { get }

Relationships

From Protocol

See Also

Working with Byte Order

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.