Objective Systems, Inc.  
Home
About ASN.1
Products
Free Software
Documents
Services
Resources
Resellers
Customers
Careers
About Us
Contact Us
 

Google


Objective Systems, Inc.

OSMemoryInputStream Class Reference

Generic memory input stream. More...

#include <rtxCppMemoryInputStream.h>

Inheritance diagram for OSMemoryInputStream:

OSInputStream OSStream OSInputStreamIF OSStreamIF OSStreamIF List of all members.

Public Member Functions

 OSMemoryInputStream (OSOCTET *pMemBuf, size_t bufSize)
 Initializes the memory input stream using the specified memory buffer.
 OSMemoryInputStream (OSContext *pContext, 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 rtxCppMemoryInputStream.h.


Constructor & Destructor Documentation

OSMemoryInputStream::OSMemoryInputStream 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.
Exceptions:
OSCStreamException stream can't be created or initialized.
See also:
rtxStreamMemoryAttach

OSMemoryInputStream::OSMemoryInputStream OSContext pContext,
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.
Exceptions:
OSCStreamException stream can't be created or initialized.
See also:
rtxStreamMemoryAttach


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

This file was last modified on 8 Jan 2007.
XBinder, Version 1.1.9