27 #ifndef _RTXSTREAMMEMORY_H_ 28 #define _RTXSTREAMMEMORY_H_ 34 typedef struct DirBufDesc {
78 size_t bufSize, OSUINT16 flags);
102 (
OSCTXT* pctxt, OSOCTET* pMemBuf,
size_t bufSize);
118 (
OSCTXT* pctxt, OSOCTET* pMemBuf,
size_t bufSize);
EXTERNRT int rtxStreamMemoryCreateWriter(OSCTXT *pctxt, OSOCTET *pMemBuf, size_t bufSize)
This function creates an output memory stream using the specified 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 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 int rtxStreamMemoryResetWriter(OSCTXT *pctxt)
This function resets the output memory stream internal buffer to allow it to be overwritten with new ...
Input/output data stream type definitions and function prototypes.
Run-time context structure.
The stream control block.
EXTERNRT int rtxStreamMemoryCreateReader(OSCTXT *pctxt, OSOCTET *pMemBuf, size_t bufSize)
This function creates an input memory stream using the specified buffer.