Progress.IO.MemoryInputStream class
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
This class is responsible for reading data from memory. It acts as a wrapper for MEMPTR read operations.
Progress.IO.MemoryInputStream extends Progress.IO.InputStream:

As with other input
stream classes, the MemoryInputStream class maintains its own internal read
position and eliminates the need to keep track of MEMPTR read positions.
For input
streams the expected network byte order is controlled by the underlying MEMPTR byte
ordering. If the input stream was created using MemoryOutputStream, then
the byte order is taken from the value of the ByteOrder property of the MemoryOutputStream.
If instead the input stream was created from a MEMPTR, the SET-BYTE-ORDER statement must be used to control the byte ordering
used by the MemoryInputStream read methods.
Serializable:
No
Constructor
|
- mos
- An initialized
MemoryOutputStreamobject that this input stream object will operate on. - mem
- An initialized MEMPTR variable that this input stream object will operate on.
Super Class
Interfaces
This class does not implement an interface.
Public Properties
| Data property | Position property (MemoryInputStream) |
Public Methods
Public Events
This class does not define events.
Examples
|
|
See also
OpenEdge Programming Interfaces for more information about MEMPTR.