unsigned char data[sizeof(long)]
Dynamic array containing the buffer data.
static Page * Copy(const void *data, size_t size)
Creates a new #page object, and copies data from the specified buffer.
bool Unref()
Decreases the reference counter.
void Ref()
Increases the reference counter.
static Page * Create(size_t size)
Allocates a new Page object, without filling the data element.
const size_t size
The size of this buffer in bytes.
static Page * Concat(const Page &a, const Page &b)
Concatenates two pages to a new page.
A dynamically allocated buffer which keeps track of its reference count.