|
Devel Lib
|
An interface for working with byte buffers. More...
#include <Buffer.h>

Public Member Functions | |
| virtual const char * | buffer () const =0 |
| Get a constant pointer to the start of the buffer. More... | |
| virtual char * | rawBuffer () const =0 |
| Get a mutable pointer to the start of the buffer. More... | |
| virtual size_t | size () const =0 |
| Get the size of the buffer. More... | |
An interface for working with byte buffers.
This class represents an interface for a buffer of bytes, providing a consistent way to interact with various types of byte buffers.
Example
Here's an example of how you might use an IBuffer:
|
pure virtual |
Get a constant pointer to the start of the buffer.
Implemented in Devel::IO::CDynamicBuffer.
|
pure virtual |
Get a mutable pointer to the start of the buffer.
Implemented in Devel::IO::CDynamicBuffer.
|
pure virtual |
Get the size of the buffer.
Implemented in Devel::IO::CDynamicBuffer.