MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / i64_empty

Function i64_empty

nodedb-codec/src/pcodec.rs:185–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183
184 #[test]
185 fn i64_empty() {
186 let encoded = encode_i64(&[]).unwrap();
187 let decoded = decode_i64(&encoded).unwrap();
188 assert!(decoded.is_empty());
189 }
190
191 #[test]
192 fn i64_roundtrip() {

Callers

nothing calls this directly

Calls 2

encode_i64Function · 0.85
decode_i64Function · 0.85

Tested by

no test coverage detected