bigEndian

Byte operations

  1. ushort bigEndian(ushort value)
    version(BigEndian)
    nothrow
    ushort
    bigEndian
    (
    ushort value
    )
  2. uint bigEndian(uint value)
  3. ushort bigEndian(ushort value)
  4. uint bigEndian(uint value)

Examples

assert(bigEndian(cast(ushort)0x00FF) == 0x00FF);

Meta