A PageHandle holds a shared ptr to a Page and a specific stream pointer to a point within the decompressed Page buffer.
More...
#include <StreamCompression.h>
A PageHandle holds a shared ptr to a Page and a specific stream pointer to a point within the decompressed Page buffer.
◆ Ptr
◆ PageHandle()
Create the page handle.
- Parameters
-
page | a shared ptr to the page that stores the buffer |
index | start position of the buffer to be read |
size | total size of the buffer to be read in bytes |
◆ page()
Retrieve a reference to the stored page.
◆ read()
std::unique_ptr<char[]> read |
( |
| ) |
|
Read and return the buffer, loading and decompressing the Page if necessary.
◆ ::TestStreamCompression
friend class ::TestStreamCompression |
|
friend |
The documentation for this class was generated from the following file: