MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / hex_encode

Function hex_encode

atomic-agent/src/turn/session.rs:744–746  ·  view source on GitHub ↗

Lowercase hex encoding for MAC keys.

(bytes: &[u8])

Source from the content-addressed store, hash-verified

742
743/// Lowercase hex encoding for MAC keys.
744fn hex_encode(bytes: &[u8]) -> String {
745 bytes.iter().map(|byte| format!("{byte:02x}")).collect()
746}
747static SESSION_TMP_SEQUENCE: AtomicU64 = AtomicU64::new(0);
748
749/// Persistent storage for agent session state files.

Callers 1

random_mac_keyFunction · 0.70

Calls 2

collectMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected