The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CMemoryInputStream Class Reference
[I/O Streams]

Inheritance diagram for CMemoryInputStream:
Collaboration diagram for CMemoryInputStream:

List of all members.


Detailed Description

An object that implements IInputStream on a memory buffer.


Public Types

typedef unsigned long DataLength

Public Member Functions

 CMemoryInputStream (const BYTE *pData, DataLength size)
 Create a stream on the supplied memory buffer. Does not take ownership of the memory.
 CMemoryInputStream (const CMemoryInputStream &rhs)
CMemoryInputStreamoperator= (const CMemoryInputStream &rhs)
void Read (BYTE *pData, DataLength dataLength) override


Member Typedef Documentation

typedef unsigned long DataLength [inherited]


Constructor & Destructor Documentation

CMemoryInputStream ( const BYTE pData,
DataLength  size 
)

Create a stream on the supplied memory buffer. Does not take ownership of the memory.

CMemoryInputStream ( const CMemoryInputStream rhs  ) 


Member Function Documentation

CMemoryInputStream& operator= ( const CMemoryInputStream rhs  ) 

void Read ( BYTE pData,
DataLength  dataLength 
) [override, virtual]

Implements IInputStream.


Generated on Sun Sep 12 19:09:36 2021 for The Server Framework - v7.4 by doxygen 1.5.3