#include <Buffer.hpp>
Public Member Functions | |
Buffer (size_t length) | |
Buffer () | |
~Buffer () | |
size_t | size () const |
size_t | position () const |
void | clear () |
char * | front () |
char * | write (size_t length) |
void | unwrite (size_t length) |
void | grow (size_t newSize) |
void | grow () |
size_t | remaining () |
void | remove (size_t start) |
void | detach () |
Private Attributes | |
char * | _buffer |
size_t | _size |
size_t | _position |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|