UCommon
Public Member Functions
ucommon::imemstream Class Reference

Stream class to read from a memory buffer. More...

#include <stream.h>

Inherits streambuf, and istream.

Public Member Functions

const char * chr () const
 
 imemstream (const uint8_t *data, size_t size)
 
 imemstream (const char *data)
 
size_t len () const
 
const uint8_t * mem () const
 
size_t remains () const
 
int uflow ()
 
int underflow ()
 

Detailed Description

Stream class to read from a memory buffer.

May optionally be 0 byte terminated if no length is specified.

Definition at line 456 of file stream.h.


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