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

Function put_bytes

crates/ixon/src/serialize.rs:71–73  ·  view source on GitHub ↗
(bytes: &[u8], buf: &mut Vec<u8>)

Source from the content-addressed store, hash-verified

69}
70
71fn put_bytes(bytes: &[u8], buf: &mut Vec<u8>) {
72 buf.extend_from_slice(bytes);
73}
74
75fn put_address(a: &Address, buf: &mut Vec<u8>) {
76 put_bytes(a.as_bytes(), buf);

Callers 4

put_addressFunction · 0.85
put_name_componentFunction · 0.85
putMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected