WriteByte( ) method

Write the unsigned 1-byte value of i to the current MemoryOutputStream object. The AVM returns a runtime overflow error if icannot fit into 1 byte or be represented as a byte.

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

Return type: VOID

Access: PUBLIC

Applies to:Progress.IO.MemoryOutputStream class

Syntax

WriteByte(INPUT i AS INT64)