MCPcopy Create free account
hub / github.com/carsonpo/haystackdb / read_length

Function read_length

src/structures/mmap_tree/node.rs:272–274  ·  view source on GitHub ↗
(data: &[u8])

Source from the content-addressed store, hash-verified

270}
271
272fn read_length(data: &[u8]) -> usize {
273 u32::from_le_bytes(data.try_into().unwrap()) as usize
274}

Callers 1

deserializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected