You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.
StreamUtil's readLen16 is supposed to read a length composed of one or two unsigned shorts, as this comment in the source also mentions. However, it seems to be reading an signed short and then an unsigned byte, therefore missing one byte. The problem is slightly masked by the byte ordering, causing it to work unless you have very large values.
The text was updated successfully, but these errors were encountered:
StreamUtil's readLen16 is supposed to read a length composed of one or two unsigned shorts, as this comment in the source also mentions. However, it seems to be reading an signed short and then an unsigned byte, therefore missing one byte. The problem is slightly masked by the byte ordering, causing it to work unless you have very large values.
The text was updated successfully, but these errors were encountered: