I think this may be able to leverage the `io::extensions::u64_from_be_bytes` function (combined with `mem::from_be64` or similar) instead of introducing new unsafety.