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

Function deser_substring

crates/ixon/src/metadata.rs:398–407  ·  view source on GitHub ↗
(
  buf: &mut &[u8],
  ixon_env: &super::env::Env,
)

Source from the content-addressed store, hash-verified

396 for univ in &self.meta_univs {
397 put_univ(univ, buf);
398 }
399 // Level-spelling patches (canonicity §10.6): per entry, Tag0
400 // arena_idx, Tag0 len, Tag0 virtual univ indices.
401 put_vec_len(self.univ_patches.len(), buf);
402 for patch in &self.univ_patches {
403 Tag0::new(patch.arena_idx).put(buf);
404 put_vec_len(patch.univ_idxs.len(), buf);
405 for idx in &patch.univ_idxs {
406 Tag0::new(*idx).put(buf);
407 }
408 }
409 Ok(())
410 }

Callers 2

deser_source_infoFunction · 0.85
deser_syntaxFunction · 0.85

Calls 3

deser_addrFunction · 0.85
deser_tag0Function · 0.85
get_blobMethod · 0.45

Tested by

no test coverage detected