Epok Engine

EPOK RUNTIME

epok::StreamPagePool::valid_range

Method · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Method

Performs `valid range` as part of bounded CD or PC geometry-page streaming.

Belongs to
epok::StreamPagePool
Header
streaming_pool.hpp
Overloads
1

Declaration

static
Declaration
static bool valid_range(uint32_t offset, uint32_t bytes, uint32_t alignment = 4)

Performs `valid range` as part of bounded CD or PC geometry-page streaming.

ParameterTypeMeaning
offsetuint32_tNot documented; consult the linked header.
bytesuint32_tNot documented; consult the linked header.
alignmentuint32_tNot documented; consult the linked header.

Returns: bool. Consult the linked header for its meaning.

Example sketch

C++ example
#include "streaming_pool.hpp"

// Assume these named values have been initialized with valid data:
// uint32_t offset
// uint32_t bytes
// uint32_t alignment

auto result = epok::StreamPagePool::valid_range(offset, bytes, alignment);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/streaming_pool.hpp:187

Related members