Detailed Description
A MemoryBlock encapsulates a chunk of memory. It's used within the IOQueue and IOStack classes.
Public Member Functions |
| MemoryBlock (uint8_t *data, unsigned int size) |
void | SeekBack () |
unsigned int | Capacity () const |
unsigned int | Size () const |
bool | Empty () const |
uint8_t * | Data () const |
unsigned int | Append (const uint8_t *data, unsigned int length) |
unsigned int | Prepend (const uint8_t *data, unsigned int length) |
unsigned int | Copy (uint8_t *data, unsigned int length) const |
unsigned int | PopFront (unsigned int length) |
The documentation for this class was generated from the following file: