Skip to content

Fix signed vs unsigned serialization bug#62

Merged
Siebje merged 1 commit into
masterfrom
signed-serialization-bug
Jun 23, 2026
Merged

Fix signed vs unsigned serialization bug#62
Siebje merged 1 commit into
masterfrom
signed-serialization-bug

Conversation

@rwols

@rwols rwols commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

close #61

The rule is:

  • 1-byte integers are unsigned.
  • 2-byte integers (shorts) are unsigned.
  • 4-byte integers are signed.

The rule is:

* 1-byte integers are unsigned.
* 2-byte integers (shorts) are unsigned.
* 4-byte integers are **signed**.
@rwols rwols added this to the next milestone Jun 4, 2026
@Siebje Siebje merged commit 721c88c into master Jun 23, 2026
18 checks passed
@rwols rwols added the bug Something isn't working label Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Header.OFFSET_X cannot be negative

2 participants