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

Function put_refs

crates/ixon/src/serialize.rs:796–801  ·  view source on GitHub ↗
(refs: &[Address], buf: &mut Vec<u8>)

Source from the content-addressed store, hash-verified

794 }
795}
796
797impl Axiom {
798 pub fn put(&self, buf: &mut Vec<u8>) {
799 put_bool(self.is_unsafe, buf);
800 put_u64(self.lvls, buf);
801 put_expr(&self.typ, buf);
802 }
803
804 pub fn get(buf: &mut &[u8]) -> Result<Self, String> {

Callers 1

putMethod · 0.85

Calls 3

put_addressFunction · 0.85
put_u64Function · 0.70
lenMethod · 0.45

Tested by

no test coverage detected