Immutable window sharing page credit until its final owner releases it.
More...
#include <document_source.hpp>
|
|
| DocumentBytePage ()=default |
| | Empty allocation-free pin.
|
| std::span< const std::byte > | bytes () const noexcept |
| DocumentRevision | revision () const noexcept |
| std::uint64_t | offset () const noexcept |
| std::uint64_t | generation () const noexcept |
| bool | finalEnd () const noexcept |
Immutable window sharing page credit until its final owner releases it.
◆ bytes()
| std::span< const std::byte > portals::DocumentBytePage::bytes |
( |
| ) |
const |
|
noexcept |
- Returns
- Initialized bytes valid for this pin's lifetime.
◆ finalEnd()
| bool portals::DocumentBytePage::finalEnd |
( |
| ) |
const |
|
noexcept |
- Returns
- Definitive EOF after the returned prefix.
◆ generation()
| std::uint64_t portals::DocumentBytePage::generation |
( |
| ) |
const |
|
noexcept |
- Returns
- Caller generation from the request.
◆ offset()
| std::uint64_t portals::DocumentBytePage::offset |
( |
| ) |
const |
|
noexcept |
- Returns
- First byte offset.
◆ revision()
- Returns
- Exact revision, or zero for an empty pin.
The documentation for this class was generated from the following file: