LLMemoryStreamBuf Class Reference

This implements a wrapper around a piece of memory for istreams. More...

#include <llmemorystream.h>

List of all members.

Public Member Functions

 LLMemoryStreamBuf (const U8 *start, S32 length)
 ~LLMemoryStreamBuf ()
void reset (const U8 *start, S32 length)

Protected Member Functions

int underflow ()


Detailed Description

This implements a wrapper around a piece of memory for istreams.

The memory passed in is NOT owned by an instance. The caller must be careful to always pass in a valid memory location that exists for at least as long as this streambuf.

Definition at line 54 of file llmemorystream.h.


Constructor & Destructor Documentation

LLMemoryStreamBuf::LLMemoryStreamBuf ( const U8 start,
S32  length 
)

Definition at line 37 of file llmemorystream.cpp.

References reset().

LLMemoryStreamBuf::~LLMemoryStreamBuf (  ) 

Definition at line 42 of file llmemorystream.cpp.


Member Function Documentation

void LLMemoryStreamBuf::reset ( const U8 start,
S32  length 
)

Definition at line 46 of file llmemorystream.cpp.

Referenced by LLMemoryStreamBuf().

int LLMemoryStreamBuf::underflow (  )  [protected]

Definition at line 51 of file llmemorystream.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:30 2010 for Second Life Viewer by  doxygen 1.4.7