Skip to content

fix: Decode bool values from full varints - #2192

Merged
dcodeIO merged 1 commit into
masterfrom
patch/bool-conformance
Apr 28, 2026
Merged

fix: Decode bool values from full varints#2192
dcodeIO merged 1 commit into
masterfrom
patch/bool-conformance

Conversation

@dcodeIO

@dcodeIO dcodeIO commented Apr 28, 2026

Copy link
Copy Markdown
Member

Reads boolean values as full varints instead of truncating them through uint32().

Fixes valid non-zero bool encodings where the lower 32 bits are zero but higher varint bits are set, which should still decode as true.

@dcodeIO
dcodeIO merged commit 7b8d5c1 into master Apr 28, 2026
4 checks passed
@github-actions github-actions Bot mentioned this pull request Apr 28, 2026
@dcodeIO
dcodeIO deleted the patch/bool-conformance branch April 29, 2026 15:22
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.

2 participants