There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Hmm, According to http://ruby-doc.org/core-2.2.0/Array.html , > is big-endian and < is little-endian. Got confused for awhile there..
Sorry, something went wrong.
Thank you, fixed: 5c4c0ad
Range for L (uint32) is from 0 to 4294967295 (2^32-1), not to 4294967296.
Range for Q (uint64) is from 0 to 18446744073709551615 (2^64-1), not to 18446744073709551616.