Home > Support > Documentation

OSRTMemoryInputStream Class Reference

Generic memory input stream. More...

#include <OSRTMemoryInputStream.h>

Inheritance diagram for OSRTMemoryInputStream:

OSRTInputStream OSRTStream OSRTInputStreamIF OSRTCtxtHolder OSRTStreamIF OSRTStreamIF OSRTCtxtHolderIF OSRTCtxtHolderIF OSRTCtxtHolderIF List of all members.

Public Member Functions

 OSRTMemoryInputStream (const OSOCTET *pMemBuf, size_t bufSize)
 Initializes the memory input stream using the specified memory buffer.
 OSRTMemoryInputStream (OSRTContext *pContext, const OSOCTET *pMemBuf, size_t bufSize)
 Initializes the memory input stream using the specified memory buffer.

Detailed Description

Generic memory input stream.

This class opens an existing file for input in binary mode and reads data from it.

Definition at line 37 of file OSRTMemoryInputStream.h.


Constructor & Destructor Documentation

OSRTMemoryInputStream::OSRTMemoryInputStream ( const OSOCTET *  pMemBuf,
size_t  bufSize 
)

Initializes the memory input stream using the specified memory buffer.

Parameters:
pMemBuf The pointer to the buffer.
bufSize The size of the buffer.
See also:
rtxStreamMemoryAttach

OSRTMemoryInputStream::OSRTMemoryInputStream ( OSRTContext pContext,
const OSOCTET *  pMemBuf,
size_t  bufSize 
)

Initializes the memory input 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.
See also:
rtxStreamMemoryAttach


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