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

Function put_u8

crates/ixon/src/serialize.rs:37–39  ·  view source on GitHub ↗
(x: u8, buf: &mut Vec<u8>)

Source from the content-addressed store, hash-verified

35}
36
37fn put_u8(x: u8, buf: &mut Vec<u8>) {
38 buf.push(x);
39}
40
41fn get_u8(buf: &mut &[u8]) -> Result<u8, String> {
42 match buf.split_first() {

Callers 4

put_serMethod · 0.70
putMethod · 0.70
put_nameFunction · 0.70
put_name_componentFunction · 0.70

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected