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.
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.
EXTERNRT int rtxStreamMemoryResetWriter (OSCTXT *pctxt)
 This function resets the output memory stream internal buffer to allow it to be overwritten with new data.

Detailed Description

Definition in file rtxStreamMemory.h.