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 available length not counting the first null byte #68

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

turecross321
Copy link
Contributor

This PR makes so that the reader's position is set back to the first null byte before it starts counting the amount of null bytes. This resolves an issue where the believed available space would always be one less than what was actually available (two if counting the intentional spacing).

@Beyley Beyley merged commit 6af03ab into LittleBigRefresh:main Jul 31, 2024
3 checks passed
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