NOTE: I store the version as a string in hex because JS does not natively support integers (wat?!), which made it unnecessarily difficult and error prone.
If we are really concerned about space, I don't think we need 4 bytes, 2 bytes is more than enough. I doubt we will ever reach v65536
NOTE: I store the version as a string in hex because JS does not natively support integers (wat?!), which made it unnecessarily difficult and error prone.
If we are really concerned about space, I don't think we need 4 bytes, 2 bytes is more than enough. I doubt we will ever reach v65536