ucommon
7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
![]() ![]() |
#include <stream.h>
Public Member Functions | |
imemstream (const uint8_t *data, size_t size) | |
imemstream (const char *data) | |
int | underflow () __OVERRIDE |
int | uflow () __OVERRIDE |
size_t | remains () const |
const uint8_t * | mem () const |
const char * | chr () const |
size_t | len () const |
Private Member Functions | |
__DELETE_DEFAULTS (imemstream) | |
Private Attributes | |
size_t | count |
const uint8_t * | pos |
const uint8_t * | bp |
Stream class to read from a memory buffer. May optionally be 0 byte terminated if no length is specified.
ucommon::imemstream::imemstream | ( | const uint8_t * | data, |
size_t | size | ||
) |
Definition at line 859 of file stream.cpp.
References bp, count, pos, and ucommon::str().
ucommon::imemstream::imemstream | ( | const char * | data | ) |
Definition at line 851 of file stream.cpp.
References bp, count, pos, and ucommon::str().
|
private |
int ucommon::imemstream::uflow | ( | void | ) |
int ucommon::imemstream::underflow | ( | void | ) |
|
private |
Definition at line 462 of file stream.h.
Referenced by imemstream().
|
private |
Definition at line 461 of file stream.h.
Referenced by imemstream(), uflow(), and underflow().
|
private |
Definition at line 462 of file stream.h.
Referenced by imemstream(), uflow(), and underflow().