Shared native primitives¶
- binary.hpp: big-endian field reads/writes. Width is checked; callers must also validate the buffer bounds.
- digest.hpp: SHA-256 content identity and FNV consistency digests. Neither is a signature or source authentication.
- file_utils.hpp: reject paths that refer to the same file; filesystem errors can propagate. This is not a cross-process lock.
These helpers depend on the standard library, not book or transport policy. Keep single-file helpers with their caller.
Maintained source: include/itch/common/README.md