Memory stream functions.
Memory stream functions are used for memory stream operations. More...Functions | |
| EXTERNRT int | rtxStreamMemoryCreate (OSCTXT *pctxt, OSUINT16 flags) |
| Opens a memory stream. | |
| EXTERNRT int | rtxStreamMemoryAttach (OSCTXT *pctxt, OSOCTET *pMemBuf, size_t bufSize, OSUINT16 flags) |
| Opens a memory stream using the specified memory buffer. | |
| EXTERNRT OSOCTET * | rtxStreamMemoryGetBuffer (OSCTXT *pctxt, size_t *pSize) |
| This function returns the memory buffer and its size for the given memory stream. | |
| EXTERNRT int | rtxStreamMemoryCreateReader (OSCTXT *pctxt, OSOCTET *pMemBuf, size_t bufSize) |
| This function creates an input memory stream using the specified buffer. | |
| EXTERNRT int | rtxStreamMemoryCreateWriter (OSCTXT *pctxt, OSOCTET *pMemBuf, size_t bufSize) |
| This function creates an output memory stream using the specified buffer. | |
Detailed Description
Memory stream functions are used for memory stream operations.
Function Documentation
|
||||||||||||||||||||
|
Opens a memory stream using the specified memory buffer. The 'flags' parameter specifies the access mode for the stream - input or output.
|
|
||||||||||||
|
Opens a memory stream. A memory buffer will be created by this function. The 'flags' parameter specifies the access mode for the stream - input or output.
|
|
||||||||||||||||
|
This function creates an input memory stream using the specified buffer.
|
|
||||||||||||||||
|
This function creates an output memory stream using the specified buffer.
If
|
|
||||||||||||
|
This function returns the memory buffer and its size for the given memory stream.
|
