SHIP:Data Types:ByteOrder

From Serious Documentation
Revision as of 05:38, 5 June 2015 by Admin (talk | contribs) (Created page with "The {{DataType|ByteOrder}} is a psuedo-type, actually a {{DataType|Byte}} with the following possible values: * <code>0x00: BYTEORDER.BIG_ENDIAN</code> * <code>0x01: BYTEORDE...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The ByteOrder is a psuedo-type, actually a Byte with the following possible values:

  • 0x00: BYTEORDER.BIG_ENDIAN
  • 0x01: BYTEORDER.SWAP8
  • 0x02: BYTEORDER.SWAP16
  • 0x03: BYTEORDER.SWAP816
  • 0x04: BYTEORDER.SWAP32
  • 0x05: BYTEORDER.SWAP832
  • 0x06: BYTEORDER.SWAP1632
  • 0x07: BYTEORDER.BIG_ENDIAN

These are bit fields, so can be combined using the "|" operator if desired, for example BYTEORDER.SWAP8|BYTEORDER.SWAP16 is, of course, the same as BYTEORDER.SWAP816.