Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deventlab/d-engine
/ safe_kv_bytes
Function
safe_kv_bytes
d-engine-core/src/utils/convert.rs:23–25 ·
view source on GitHub ↗
(key: u64)
Source
from the content-addressed store, hash-verified
21
}
22
23
pub fn safe_kv_bytes(key: u64) -> Bytes {
24
u64_to_bytes(key)
25
}
26
27
/// Converts a `u64` to an 8-byte array in big-endian byte order.
28
///
Callers
4
generate_insert_commands
Function · 0.85
generate_delete_commands
Function · 0.85
generate_insert_commands
Function · 0.85
execute_command
Method · 0.85
Calls
1
u64_to_bytes
Function · 0.85
Tested by
2
generate_insert_commands
Function · 0.68
execute_command
Method · 0.68