pub fn digest_bytes(bytes: &[u8]) -> ContentDigestExpand description
What: The digest of in-memory bytes. Why: Tests pin the published FNV-1a vectors through it, and the file reader below must agree with it.
In TS you’d write (pseudocode):
const digest = digestBytes(bytes);