SetByteOrder( ) method

Sets the ByteOrder property to an indicator that designates the byte-order of MemoryOutputStream object’s Data property. By default, the byte order for the Data property is the HostByteOrder member of Progress.IO.ByteOrder.

Note: This method is equivalent to the SET-BYTE-ORDER statement, which applies to MEMPTR variables but not to MemoryOutputStream objects.

Return type: VOID

Access: PUBLIC

Applies to:Progress.IO.MemoryOutputStream class

Syntax

SetByteOrder(INPUT byte-order AS Progress.IO.ByteOrder)
byte-order
Byte order can be specified as PROGRESS.IO.ByteOrder:LittleEndian, PROGRESS.IO.ByteOrder:BigEndian, or PROGRESS.IO.ByteOrder:HostByteOrder.

Notes