Skip to content

Correct encode/decode for optional fields in binary encoding - #16

Open
Gealber wants to merge 1 commit into
gagliardetto:masterfrom
Gealber:fix/optional-bin
Open

Gealber wants to merge 1 commit into
gagliardetto:masterfrom
Gealber:fix/optional-bin

Conversation

@Gealber

@Gealber Gealber commented Apr 19, 2026

Copy link
Copy Markdown

Encode/Decode of optional fields(specified by bin:"optional") in the binary encoding, treats the boolean flag as an uint32, instead of a boolean. Resulting in more bytes read and written.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant