networkByteOrder

Byte operations

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

Examples

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

Meta