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

reader: refactor reader_fill_buffer() #44

Merged
merged 1 commit into from
Aug 18, 2023
Merged

Conversation

Gottox
Copy link
Owner

@Gottox Gottox commented Aug 18, 2023

This changes reader_fill_buffer() to calculate the remaining size to be copied to the buffer instead of using the size that is already copied to the buffer. Also this commit adds assertions to check if the result of reader_fill_buffer() is sound.

This changes reader_fill_buffer() to calculate the remaining size to be
copied to the buffer instead of using the size that is already copied to
the buffer. Also this commit adds assertions to check if the result of
reader_fill_buffer() is sound.
@Gottox Gottox merged commit 2ab7f29 into main Aug 18, 2023
9 checks passed
@Gottox Gottox deleted the feature/refactor-reader branch August 21, 2023 19:59
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