Peek and Read for UInt64, with numberBits as parameter, in NetBuffer breaks when reading values above 32 bits. This is due to reading the same position twice, and not casting the second read to UInt64, breaking the bit shift.
Added tests that reproduce the bug which fails before the fix and passes after the fix.
(This is my first pull request, let me know if I did it incorrectly).
Peek and Read for UInt64, with numberBits as parameter, in NetBuffer breaks when reading values above 32 bits. This is due to reading the same position twice, and not casting the second read to UInt64, breaking the bit shift.
Added tests that reproduce the bug which fails before the fix and passes after the fix.
(This is my first pull request, let me know if I did it incorrectly).