OSRTMemoryInputStream Class Reference

Generic memory input stream. More...

#include <OSRTMemoryInputStream.h>

Inheritance diagram for OSRTMemoryInputStream:

OSRTInputStream OSRTStream OSRTCtxtHolder OSRTCtxtHolderIF

List of all members.


Public Member Functions

EXTRTMETHOD OSRTMemoryInputStream (const OSOCTET *pMemBuf, size_t bufSize)
 Initializes the memory input stream using the specified memory buffer.
EXTRTMETHOD 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

EXTRTMETHOD 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

EXTRTMETHOD 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: