MCPcopy Create free account
hub / github.com/argumentcomputer/ix / get_const_bytes

Method get_const_bytes

crates/ixon/src/env.rs:220–222  ·  view source on GitHub ↗

Get the raw serialized bytes of a constant without materializing it.

(&self, addr: &Address)

Source from the content-addressed store, hash-verified

218});
219
220/// Result of [`Env::parse_lazy_index`]: a metadata-light, zero-copy view of an
221/// `.ixe` buffer suitable for the anon/lazy check path. Constants are byte
222/// windows (offsets), `named` is `name → addr` + hint, and `blobs` are copied
223/// (they are small and the kernel ingests their bytes directly).
224#[derive(Debug, Clone, Default)]
225pub struct LazyIndex {

Callers 1

profile_block_sizeFunction · 0.45

Calls 3

raw_bytesMethod · 0.80
valueMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected