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

Method commit

crates/ixon/src/serialize.rs:881–886  ·  view source on GitHub ↗

Serialize a constant and compute its content address.

(&self)

Source from the content-addressed store, hash-verified

879 }
880}
881
882impl ConstructorProj {
883 pub fn put(&self, buf: &mut Vec<u8>) {
884 put_u64(self.idx, buf);
885 put_u64(self.cidx, buf);
886 put_address(&self.block, buf);
887 }
888
889 pub fn get(buf: &mut &[u8]) -> Result<Self, String> {

Callers 1

store_canonicalFunction · 0.45

Calls 1

putMethod · 0.45

Tested by

no test coverage detected