ByteOrder
public enum ByteOrder
                ByteOrder enumerates the ordering semantics of sequences of bytes on a
particular target architecture.
- 
                  
                  
Little-endian byte order. In a little-endian platform, the least significant bytes come before the most significant bytes in a series, so the 16-bit number 1234 would look like:
11010010 00000100 ^ lower ^ higher orderDeclaration
Swift
case littleEndian - 
                  
                  
Big-endian byte order. In a big-endian platform, the most significant bytes come before the least significant bytes in a series, so the 16-bit number 1234 would look like:
00000100 11010010 ^ higher ^ lower orderBig-endian byte order is the most natural order for humans to understand.
Declaration
Swift
case bigEndian 
        ByteOrder Enumeration Reference