Closed nxrighthere closed 5 years ago
Hey nxrightthere! I'm glad you picked up on this - the example was off. However the underlying datatype is a 64-bit int (https://github.com/invertedtomato/integer-compression/blob/master/Library/Compression/Integers/Codec.cs#L69). The comments were right, though I'd incorrectly used an "int" instead of a "long". I've corrected this now.
Ah, thanks. It makes sense then.
The integer is 4 bytes in size.