armdb 0.11.0

sharded bitcask key-value storage optimized for NVMe
Documentation
1
2
3
4
5
6
7
//! Hex-encoding helper shared by the schema validator (`feature = "schema"`)
//! and the counter layer (`feature = "typed-tree"`) for rendering row keys in
//! error/finding messages.

pub(crate) fn hex(bytes: &[u8]) -> String {
    bytes.iter().map(|b| format!("{b:02x}")).collect()
}