Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ decode
Function
decode
nodedb/src/control/catalog_entry/codec.rs:18–22 ·
view source on GitHub ↗
(bytes: &[u8])
Source
from the content-addressed store, hash-verified
16
}
17
18
pub fn decode(bytes: &[u8]) -> Result<CatalogEntry, Error> {
19
zerompk::from_msgpack(bytes).map_err(|e| Error::Config {
20
detail: format!(
"catalog entry decode: {e}"
),
21
})
22
}
Callers
15
execute_plan_inner
Method · 0.50
roundtrip_put_collection
Function · 0.50
roundtrip_deactivate_collection
Function · 0.50
roundtrip_put_sequence
Function · 0.50
roundtrip_delete_sequence
Function · 0.50
write_request_roundtrip
Function · 0.50
read_request_roundtrip
Function · 0.50
handle_mget
Function · 0.50
handle_getset
Function · 0.50
handle_scan
Function · 0.50
handle_keys
Function · 0.50
scan_all_entries
Function · 0.50
Calls
no outgoing calls
Tested by
9
roundtrip_put_collection
Function · 0.40
roundtrip_deactivate_collection
Function · 0.40
roundtrip_put_sequence
Function · 0.40
roundtrip_delete_sequence
Function · 0.40
write_request_roundtrip
Function · 0.40
read_request_roundtrip
Function · 0.40
payload_msgpack_roundtrip
Function · 0.40
do_handshake
Function · 0.40
connect_and_handshake
Function · 0.40