Skip to content

Improve bool, int and uint parsers.#24

Merged
stankudrow merged 5 commits into
devfrom
reconsider-integer-parsers
Jun 9, 2025
Merged

Improve bool, int and uint parsers.#24
stankudrow merged 5 commits into
devfrom
reconsider-integer-parsers

Conversation

@stankudrow
Copy link
Copy Markdown
Owner

@stankudrow stankudrow commented Jun 6, 2025

These parsers (parse_(bool|int|uint)) now rely on int.from_bytes method which is a good idea. The byteorder option gives some freedom and puts aside the need to reverse bytes if necessary.

The changes are not breaking, that is why the version ought to be v0.5.1!

@stankudrow stankudrow self-assigned this Jun 6, 2025
@stankudrow stankudrow changed the title Add the byteorder option to bool, int and uint parsers. Improve bool, int and uint parsers. Jun 9, 2025
@stankudrow stankudrow merged commit 3db41c1 into dev Jun 9, 2025
5 checks passed
@stankudrow stankudrow deleted the reconsider-integer-parsers branch June 9, 2025 08:02
@stankudrow stankudrow mentioned this pull request Jun 9, 2025
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