#include <memstream.h>
Public Member Functions | |
std::size_t | write (const char *buffer, std::size_t length) |
const char * | data () const |
std::size_t | size () const |
void | clear () |
Private Attributes | |
std::vector< char > | m_buffer |
Definition at line 30 of file memstream.h.
void BufferOutputStream::clear | ( | ) | [inline] |
Definition at line 43 of file memstream.h.
References m_buffer, and std::swap().
const char* BufferOutputStream::data | ( | ) | const [inline] |
Definition at line 37 of file memstream.h.
References m_buffer.
std::size_t BufferOutputStream::size | ( | ) | const [inline] |
Definition at line 40 of file memstream.h.
References m_buffer.
std::size_t BufferOutputStream::write | ( | const char * | buffer, | |
std::size_t | length | |||
) | [inline] |
Definition at line 33 of file memstream.h.
References m_buffer.
std::vector<char> BufferOutputStream::m_buffer [private] |