Module raster.owned_resource

Public retained ownership token for one physical byte resource.

OwnedByteResource deliberately hides the raw ResourceEntry representation.

Public callers may obtain a token only through an explicit ownership adoption API. Source-specific adapters may use package-internal raw adoption after establishing their own release/context invariants.

Date

2026-10-05

Functions

NameDescription
tryAdoptMallocResource(base, byteLength, owned) Adopts one malloc/free-compatible allocation.

Structs

NameDescription
OwnedByteResource Move-only ownership token for one retained physical byte resource.