Skip to main content

write_len_prefixed

Function write_len_prefixed 

Source
pub fn write_len_prefixed(hasher: &mut Hasher, bytes: &[u8])
Expand description

Write a length-prefixed byte slice into a BLAKE3 hasher.

This preserves tuple boundaries when multiple fields are concatenated.