
Input/Output Data Stream Utility Functions
This group of functions is used to operate on input or output data streams. The decode functions generated by the XBinder compiler can read and decode from a stream that was created using these functions. A stream is an abstraction of some physical input medium such as a file, memory buffer, or socket interface.
- rtxStreamFileOpen -This function opens a file for input or output stream access.
- rtxStreamFileAttach -This function attaches as existing open file to a stream to allow read or write access using the stream functions.
- rtxStreamSocketAttach -This function attaches an existing open TCPI/IP socket connection to a stream.
- rtxStreamMemoryCreate -This function creates a memory buffer and attaches it to a stream for read or write access.
- rtxStreamMemoryAttach -This function attaches an existing memory buffer (for example, a static byte array) to a stream for read or write access.
- rtxStreamRead -This function reads data from the input stream into a given memory buffer.
- rtxStreamWrite -This function writes data to an output stream.
- rtxStreamFlush -This function flushes the output stream and forces any buffered output octets to be written out.
- rtxStreamClose - This function closes the input or output stream and releases any system resources associated with the stream. For output streams this function also flushes all internal buffers to the stream.
Objective Systems, Inc.102 Pickering Way, Suite #506Exton, Pennsylvania 19341 http://www.obj-sys.com Phone: (484) 875-9841 Toll-free: (877) 307-6855 (US only) Fax: (484) 875-9830 info@obj-sys.com |