Trait fasthash::BufHasher [] [src]

pub trait BufHasher: FastHasher + AsRef<[u8]> {
    fn with_capacity_and_seed(capacity: usize, seed: Option<Self::Seed>) -> Self;

    fn len(&self) -> usize { ... }
    fn as_slice(&self) -> &[u8] { ... }
}

Hasher in the buffer mode for short key

Required Methods

Constructs a buffered hasher with capacity and seed

Provided Methods

Returns the number of bytes in the buffer.

Extracts a slice containing the entire buffer.

Implementors