OSRTMemoryOutputStream Class Reference

Generic memory output stream. More...

#include <OSRTMemoryOutputStream.h>

Inheritance diagram for OSRTMemoryOutputStream:

OSRTOutputStream OSRTStream OSRTOutputStreamIF OSRTCtxtHolder OSRTStreamIF OSRTStreamIF OSRTCtxtHolderIF OSRTCtxtHolderIF OSRTCtxtHolderIF List of all members.

Public Member Functions

EXTRTMETHOD OSRTMemoryOutputStream (OSOCTET *pMemBuf, size_t bufSize)
 Initializes the memory output stream using the specified memory buffer.
EXTRTMETHOD OSRTMemoryOutputStream (OSRTContext *pContext, OSOCTET *pMemBuf, size_t bufSize)
 Initializes the memory output stream using the specified memory buffer.

Detailed Description

Generic memory output stream.

This class provides methods for streaming data to an output memory buffer.

Definition at line 37 of file OSRTMemoryOutputStream.h.


Constructor & Destructor Documentation

EXTRTMETHOD OSRTMemoryOutputStream::OSRTMemoryOutputStream ( OSOCTET *  pMemBuf,
size_t  bufSize 
)

Initializes the memory output stream using the specified memory buffer.

Parameters:
pMemBuf The pointer to the buffer.
bufSize The size of the buffer.
Exceptions:
OSCStreamException stream can't be created or initialized.
See also:
rtxStreamMemoryAttach

EXTRTMETHOD OSRTMemoryOutputStream::OSRTMemoryOutputStream ( OSRTContext pContext,
OSOCTET *  pMemBuf,
size_t  bufSize 
)

Initializes the memory output stream using the specified memory buffer.

Parameters:
pContext Pointer to a context to use.
pMemBuf The pointer to the buffer.
bufSize The size of the buffer.
Exceptions:
OSCStreamException stream can't be created or initialized.
See also:
rtxStreamMemoryAttach


The documentation for this class was generated from the following file: