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

Function put_address

crates/ixon/src/serialize.rs:75–77  ·  view source on GitHub ↗
(a: &Address, buf: &mut Vec<u8>)

Source from the content-addressed store, hash-verified

73}
74
75fn put_address(a: &Address, buf: &mut Vec<u8>) {
76 put_bytes(a.as_bytes(), buf);
77}
78
79/// Write an `Option<Address>` as `[0x00]` (None) or `[0x01][addr:32]`
80/// (Some). Mirrors the Claim-side encoding in `proof.rs`.

Callers 4

putMethod · 0.85
put_refsFunction · 0.85
put_named_indexedFunction · 0.85

Calls 2

put_bytesFunction · 0.85
as_bytesMethod · 0.80

Tested by

no test coverage detected