-
Notifications
You must be signed in to change notification settings - Fork 125
Adds IonRawBinaryWriter_1_1 #1133
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
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## ion11 #1133 +/- ##
========================================
Coverage ? 68.97%
Complexity ? 6172
========================================
Files ? 200
Lines ? 25079
Branches ? 4385
========================================
Hits ? 17299
Misses ? 6442
Partials ? 1338 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
src/test/java/com/amazon/ion/impl/bin/IonManagedBinaryWriterTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/amazon/ion/impl/bin/TimestampEncoder_1_1Test.kt
Outdated
Show resolved
Hide resolved
src/test/java/com/amazon/ion/impl/bin/TimestampEncoder_1_1Test.kt
Outdated
Show resolved
Hide resolved
src/main/java/com/amazon/ion/impl/bin/IonRawBinaryWriter_1_1.kt
Outdated
Show resolved
Hide resolved
| override fun stepInTaglessElementSExp(macroId: Int, macroName: String?) { | ||
| currentContainer = containerStack.push { it.reset(TE_SEXP, buffer.position()) } | ||
| buffer.writeByte(OpCode.TAGLESS_ELEMENT_SEXP) | ||
| currentContainer.metadataOffset += writeEExpMacroIdWithoutLengthPrefix(macroId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need a variant that allows the macro shapes to be length-prefixed? (We have an example of this in the spec)
Issue #, if available:
None
Description of changes:
Changes are grouped into commits to make it easier to review them.
TimestampEncoder_1_1and testsIonRawBinaryWriter_1_1and testsIonEncoder_1_1and an obsolete version ofOpCodesand some unused constants.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.