|
|
| MemoryBuffer (size_t position_=0) |
| |
|
virtual void | save_binary (const char *x, size_t count) override |
| | copy count bytes from x into the buffer
|
| |
|
virtual void | load_binary (char *x, size_t count) override |
| | copy count bytes into x from the buffer
|
| |
|
virtual void | load_binary_back (char *x, size_t count) override |
| | copy count bytes into x from the back of the buffer
|
| |
|
void | clear () |
| |
|
void | wipe () |
| |
|
void | reset () |
| |
|
void | skip (size_t s) |
| |
|
void | swap (MemoryBuffer &o) |
| |
|
bool | empty () const |
| |
|
size_t | size () const |
| |
|
void | reserve (size_t s) |
| |
|
| operator bool () const |
| |
|
void | write (const std::string &fn) const |
| |
|
void | read (const std::string &fn) |
| |
|
|
static void | copy (MemoryBuffer &from, MemoryBuffer &to) |
| | copy a memory buffer from one buffer to another, bypassing making a temporary copy first
|
| |
|
static float | growth_multiplier () |
| | multiplier used for the geometric growth of the container
|
| |
|
|
size_t | position |
| |
|
std::vector< char > | buffer |
| |
The documentation for this struct was generated from the following file: