A dynamically allocated buffer which keeps track of its reference count. More...
#include <page.h>
Data Fields | |
int | ref |
The number of references to this buffer. | |
size_t | size |
The size of this buffer in bytes. | |
unsigned char | data [sizeof(long)] |
Dynamic array containing the buffer data. |
A dynamically allocated buffer which keeps track of its reference count.
This is useful for passing buffers around, when several instances hold references to one buffer.
Definition at line 36 of file page.h.
unsigned char page::data[sizeof(long)] |
int page::ref |
size_t page::size |