Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: decode signed integer values #38

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

Switch2-OliverW
Copy link
Contributor

This is to address #31.

Implemented the decoding of integer values using two's complement. Added some tests to make sure that the full range of integer sizes are correctly decoded.

I've only been using Rust for a couple of weeks so I apologise if any of it is not Rust-y enough. Happy to amend anything.

@maebli
Copy link
Owner

maebli commented Mar 10, 2025

@Switch2-OliverW awesome! Give me a few days to the review. You've added tests so it seems alright to me :) And if you enjoy the repos give it a star!

@maebli maebli self-requested a review March 10, 2025 20:49
@maebli maebli merged commit 80eec8d into maebli:main Mar 11, 2025
@Switch2-OliverW Switch2-OliverW deleted the fix_signed_integer_decode branch March 12, 2025 10:06
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.

None yet

3 participants