OSMemoryOutputStream Class ReferenceGeneric memory output stream.
More...
#include <rtxCppMemoryOutputStream.h>
Inheritance diagram for OSMemoryOutputStream:
List of all members.
|
Public Member Functions |
| | OSMemoryOutputStream (OSOCTET *pMemBuf, size_t bufSize) |
| | Initializes the memory output stream using the specified memory buffer.
|
| | OSMemoryOutputStream (OSContext *pContext, OSOCTET *pMemBuf, size_t bufSize) |
| | Initializes the memory output stream using the specified memory buffer.
|
Detailed Description
Generic memory output stream.
This class opens an existing file for output in binary mode and reads data from it.
Definition at line 37 of file rtxCppMemoryOutputStream.h.
Constructor & Destructor Documentation
| OSMemoryOutputStream::OSMemoryOutputStream |
( |
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
|
| OSMemoryOutputStream::OSMemoryOutputStream |
( |
OSContext * |
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:
|