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 return of Decode methods to returning the actual destination length. #543

Merged

Conversation

artnim
Copy link
Contributor

@artnim artnim commented Aug 21, 2024

Solves #542

Caused by Decode was returning the length of the source divided by the sizeof(T) instead of the length of the actually decoded data.

@aloneguid aloneguid self-requested a review September 6, 2024 13:41
Copy link
Owner

@aloneguid aloneguid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but need to resolve conflicts.

@artnim artnim force-pushed the 542-fix-index-out-of-range-exception branch from 58cb0f7 to bff8d28 Compare September 7, 2024 18:33
@artnim
Copy link
Contributor Author

artnim commented Sep 7, 2024

Looks good, but need to resolve conflicts.

Just resolved the conflict around unneeded usings.

Copy link
Owner

@aloneguid aloneguid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@aloneguid aloneguid merged commit 50501f1 into aloneguid:master Sep 9, 2024
@artnim artnim deleted the 542-fix-index-out-of-range-exception branch September 9, 2024 13: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.

2 participants