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

Use a BufReader with a capacity the size of the data #132

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

icdevin
Copy link
Contributor

@icdevin icdevin commented Mar 14, 2025

Fixes #131 by using a buffer with enough capacity to hold the entire message data.

@icdevin icdevin changed the title Uses a BufReader with a capacity the size of the data Use a BufReader with a capacity the size of the data Mar 14, 2025
@SomethingNew71
Copy link

Woah excellent find

@gklijs
Copy link
Owner

gklijs commented Mar 17, 2025

Thanks a lot.

@gklijs gklijs merged commit 9ac9be3 into gklijs:main Mar 17, 2025
1 check 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.

Protobuf messages larger than 8 KiB are truncated
3 participants