Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Security Level: Public
-
None
Description
Replace the bit-access functions in bitfield.h with a series of structs representing big-endian integers of sizes 1-6 bytes, and a set of functions to read and write them.
This then allows us to define actual structs for the database data structures, instead of using memcpy with cryptic byte offsets, which makes the code clearer.