pub fn read_prefix(path: &Path, cap: usize) -> Result<Prefix>
Reads at most cap bytes of the regular file at path on this machine as a Prefix.
cap
path
Prefix