Skip to main content

load_raw

Function load_raw 

Source
pub fn load_raw() -> Result<(BlobMeta, BlobData), CnResult>
Expand description

Load the primary blob’s metadata and the BlobData payload store from the state root’s data/ layout, without resolving defs into runtime Assets (that resolution depends on the client runtime registry, so it lives in the client blob::load shim).

Only blob 0’s payload section is read here; overflow blobs (named by the manifest’s max_blob_index) start unloaded and BlobData::read() pulls each from disk the first time a locator needs it.