pub fn head_bytes(data: &[u8], n: u64, out: &mut impl Write) -> Result<()>
Output first N bytes from data