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

Method put_ser

crates/ixon/src/serialize.rs:482–489  ·  view source on GitHub ↗
(&self, buf: &mut Vec<u8>)

Source from the content-addressed store, hash-verified

480 let mut univ_indices =
481 Vec::with_capacity(capped_capacity(tag.size, buf));
482 for _ in 0..tag.size {
483 univ_indices.push(get_u64(buf)?);
484 }
485 results.push(Expr::reference(ref_idx, univ_indices));
486 },
487 Expr::FLAG_REC => {
488 let rec_idx = get_u64(buf)?;
489 let mut univ_indices =
490 Vec::with_capacity(capped_capacity(tag.size, buf));
491 for _ in 0..tag.size {
492 univ_indices.push(get_u64(buf)?);

Callers 1

putMethod · 0.45

Calls 1

put_u8Function · 0.70

Tested by

no test coverage detected