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

Adds BufferedAppendableFastAppendable #845

Merged
merged 1 commit into from
May 10, 2024

Conversation

popematt
Copy link
Contributor

Issue #, if available:

None

Description of changes:

  • Adds a _Private_FastAppendable wrapper for Appendable that buffers until flush() is called.
  • Added a basic test in Ion11Test to ensure that it handles encoding directives properly.
  • I renamed BlockedBufferingOutputStreamFastAppendable to just BufferedOutputStreamFastAppendable and updated its flush() and close() behavior to be consistent with OutputStreamFastAppendable.

I know I've got another import change in this diff. I'm working separately to eliminate those.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@popematt popematt force-pushed the buffered-appendable branch from 06f14bd to b1cc314 Compare May 10, 2024 00:33
@popematt popematt merged commit 3d1a730 into amazon-ion:ion-11-encoding May 10, 2024
15 of 34 checks passed
@popematt popematt deleted the buffered-appendable branch May 10, 2024 04:08
tgregg pushed a commit that referenced this pull request Jun 28, 2024
tgregg pushed a commit that referenced this pull request Sep 9, 2024
tgregg pushed a commit that referenced this pull request Dec 13, 2024
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