Skip to main content

Module fetch

Module fetch 

Source
Expand description

A texture’s inline bytes, or its streamed resource. Own bundle rows are searched before the Environment, candidates in order, containers from inner to outer, and directory rows from last to first. Each core call remains separately observable through Hooks.

Structs§

Stream
m_StreamData, retaining signed and wide integers until read.

Enums§

Error
Fetch failures preserve whether the Environment or an own row failed, so exporters can assign their own resource and data skip reasons.
Span
The core range, or a Python slice of the whole resource.

Traits§

Hooks
Per-core-call hooks. Map errors inside the caller’s refusal probe; Environment calls can additionally inspect evictions after the probe.

Functions§

fetch
Inline data wins. Otherwise search own rows, then the Environment. Missing streams and empty paths give empty data. Returned bytes share their existing allocation; all name and resource allocations are charged by the core before allocation, and lookup work is metered.
fetch_with
fetch with separately classified probes around every core call.
python_slice
Python’s data[start:stop], including negative indices and clamping.