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

[ntcore] Fix write_impl #5847

Merged
merged 2 commits into from
Oct 30, 2023
Merged

Conversation

PeterJohnson
Copy link
Member

The previous fix didn't handle all cases correctly. Instead, add a new function to raw_ostream (SetNumBytesInBuffer) to allow always using the full buffer size, and revamp write_impl to more cleanly handle all cases.

The previous fix didn't handle all cases correctly. Instead, add a new
function to raw_ostream (SetNumBytesInBuffer) to allow always using the
full buffer size, and revamp write_impl to more cleanly handle all
cases.
@PeterJohnson PeterJohnson requested review from a team as code owners October 30, 2023 06:15
@PeterJohnson PeterJohnson merged commit 07e13d6 into wpilibsuite:main Oct 30, 2023
26 checks passed
@PeterJohnson PeterJohnson deleted the fix-nt-write2 branch October 30, 2023 15:23
This pull request was closed.
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