pub fn new_hash_encoder<H: DeterministicHasher + ?Sized>(
hasher: &mut H,
) -> HashEncoder<'_, H>Expand description
Creates a new HashEncoder that encodes directly to the given hasher.
This is useful for computing hashes of encoded values without allocating a buffer.