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
Handle 3-byte payloads when reusing payload area for single-payload enums
According to the compiler code, the payload area is reused by treating the first
min(4, payload size) bytes as an n-byte integer. The previous code didn't
handle 3-byte integers.
Mostly, this just means simplifying the `readInteger` function to handle
arbitrary byte lengths (requiring only that it's less than the length of the
destination integer variable). I've also made a tentative stab at handling
big-endian architectures here.
0 commit comments