Function gix_features::hash::bytes_with_hasher

source ยท
pub fn bytes_with_hasher(
    read: &mut dyn Read,
    num_bytes_from_start: u64,
    hasher: Sha1,
    progress: &mut dyn Progress,
    should_interrupt: &AtomicBool
) -> Result<ObjectId>
Available on crate feature progress and (crate features rustsha1 or fast-sha1) only.
Expand description

Similar to bytes(), but takes a hasher instead of a hash kind.