#include <mootBufferIO.h>
Inheritance diagram for mootio::mcbuffer:
|
Default constructor, given optional initial buffer size |
|
Constructor from a user-specified buffer Read/write operations will be performed on this buffer as long as possible. On write overflow, a new local buffer will be allocated (which will be freed on release()). User is responsible for freeing memory associated with @data passed to this constructor. |
|
Copy constructor |
|
Destructor |
|
Write a single byte to the buffer Reimplemented from mootio::mostream. |
|
Asignment to a different data buffer (always copies) Reimplemented from mootio::micbuffer. |
|
Clear buffer Reimplemented from mootio::micbuffer. |
|
"Flush" all data before offset() from the buffer. Reimplemented from mootio::mostream. |
|
Write a C++ string to the buffer Reimplemented from mootio::mostream. |
|
Write a C string to the buffer Reimplemented from mootio::mostream. |
|
Free locally allocated data buffer, if any. Implicitly calls clear() Reimplemented from mootio::micbuffer. |
|
Grow the buffer to fit at least @size + @pad bytes in it |
|
printf() to the buffer, va_list version Reimplemented from mootio::mostream. |
|
Write @n bytes from @buf to the buffer Reimplemented from mootio::mostream. |
|
|
|
|
|
|
|
|
|
|
|
|