XBinder  Version 2.9.x
Functions
rtxStreamMemory.h File Reference
#include "rtxsrc/rtxStream.h"

Go to the source code of this file.

Functions

EXTERNRT int rtxStreamMemoryCreate (OSCTXT *pctxt, OSUINT16 flags)
 Opens a memory stream. More...
 
EXTERNRT int rtxStreamMemoryAttach (OSCTXT *pctxt, OSOCTET *pMemBuf, size_t bufSize, OSUINT16 flags)
 Opens a memory stream using the specified memory buffer. More...
 
EXTERNRT OSOCTET * rtxStreamMemoryGetBuffer (OSCTXT *pctxt, size_t *pSize)
 This function returns the memory buffer and its size for the given memory stream. More...
 
EXTERNRT int rtxStreamMemoryCreateReader (OSCTXT *pctxt, OSOCTET *pMemBuf, size_t bufSize)
 This function creates an input memory stream using the specified buffer. More...
 
EXTERNRT int rtxStreamMemoryCreateWriter (OSCTXT *pctxt, OSOCTET *pMemBuf, size_t bufSize)
 This function creates an output memory stream using the specified buffer. More...
 
EXTERNRT int rtxStreamMemoryResetWriter (OSCTXT *pctxt)
 This function resets the output memory stream internal buffer to allow it to be overwritten with new data. More...