Progress.IO.ByteOrder enumeration

An enumeration to support the MemoryOutputStream object's ByteOrder enum-type property.

Members

Member Description
HostByteOrder The byte order employed by the machine where the process is running.
BigEndian Byte ordering where the most significant value in a sequence is stored first (i.e.in the lowest address). Successive bytes are stored at successively higher addresses.

For example, the two bytes required for the hexadecimal number 9A62 would be stored as 9A in the first address space and 62 in the second when byte ordering is big-endian.

Note that Internet protocols use big-endian byte-ordering.

LittleEndian Byte ordering where the least significant value in a sequence is stored first (i.e.in the lowest address). Successive bytes are stored at successively higher addresses.

For example, the two bytes required for the hexadecimal number 9A62 would be stored as 62 in the first address space and 9A in the second when byte ordering is little-endian.