Write the signed 2-byte value of i (as a SHORT) to the current MemoryOutputStream object. The AVM will return a runtime overflow error if the value i cannot fit 2 into bytes or be represented as a SHORT type.
Return type: INT64
Access: PUBLIC
Applies to:Progress.IO.MemoryOutputStream class