Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
37
fn put_u8(x: u8, buf: &mut Vec<u8>) {
38
buf.push(x);
39
}
40
41
fn get_u8(buf: &mut &[u8]) -> Result<u8, String> {
42
match buf.split_first() {
Callers
4
put_ser
Method · 0.70
put
Method · 0.70
put_name
Function · 0.70
put_name_component
Function · 0.70
Calls
1
push
Method · 0.80
Tested by
no test coverage detected