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

Function expr_share_5

crates/ixon/src/lib.rs:263–268  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

261 // Expr::Ref(0, []) -> Tag4 { flag: 0x2, size: 0 } + idx(0)
262 // = 0x20 + 0x00
263 let mut buf = Vec::new();
264 serialize::put_expr(&Expr::Ref(0, vec![]), &mut buf);
265 assert_eq!(
266 buf,
267 vec![0x20, 0x00],
268 "Expr::Ref(0, []) should be [0x20, 0x00]"
269 );
270 }
271

Callers

nothing calls this directly

Calls 1

put_exprFunction · 0.85

Tested by

no test coverage detected