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

Method as_bytes

crates/common/src/address.rs:35–37  ·  view source on GitHub ↗

Returns the raw 32-byte digest.

(&self)

Source from the content-addressed store, hash-verified

33 }
34 /// Returns the raw 32-byte digest.
35 pub fn as_bytes(&self) -> &[u8; 32] {
36 self.hash.as_bytes()
37 }
38
39 /// Flatten a slice of addresses into a `[u8; 32 * N]` byte blob.
40 pub fn pack(addrs: &[Address]) -> Vec<u8> {

Callers 15

mainFunction · 0.80
find_missing_depsFunction · 0.80
check_inputs_closedFunction · 0.80
run_constantFunction · 0.80
group_work_by_manifestFunction · 0.80
run_shard_planFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
addr_keyFunction · 0.80
mk_addrFunction · 0.80
store_stringFunction · 0.80

Calls

no outgoing calls