#include <mootBufferIO.h>
Inheritance diagram for mootio::micbuffer:
|
Constructor from a user-specified buffer Read operations will be performed on the buffer specified. User is responsible for freeing memory associated with passed to this constructor. |
|
Copy constructor |
|
Destructor |
|
Return the unread portion of the buffer as a new STL string. @param normalize_ws Whether to normalize whitespace (replace all whitespace substrings with a single space). @param trim_left whether to trim all leading whitespace @param trim_right whether to trim all trailing whitespace |
|
Asignment to a different data buffer Reimplemented in mootio::mcbuffer. |
|
Get current allocated size of data buffer |
|
Clear buffer Reimplemented in mootio::mcbuffer. |
|
Get pointer to current read buffer (whole thing) |
|
Check for end-of-buffer (only meaningful for read operations) Reimplemented from mootio::mstream. |
|
Read a single byte of data Reimplemented from mootio::mistream. |
|
Get current read-offset of data buffer |
|
Read up to Reimplemented from mootio::mistream. |
|
Free locally allocated data buffer, if any. Implicitly calls clear() Reimplemented in mootio::mcbuffer. |
|
Get current used size of data buffer |
|
Append the unread portion of the buffer to an existing STL string. @param str destination string @param normalize_ws Whether to normalize whitespace (replace all whitespace substrings with a single space). @param trim_left whether to trim all leading whitespace @param trim_right whether to trim all trailing whitespace |
|
Check for buffer validity Reimplemented from mootio::mstream. |
|
|
|
|
|
|