File tree Expand file tree Collapse file tree
src/main/java/com/amazon/ion/bytecode/bin11/bytearray Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -172,10 +172,10 @@ internal object TaglessElementListOpcodeHandler : OpcodeToBytecodeHandler {
172172 else -> - 1
173173 }
174174
175- val containerSizeValueAndLength = PrimitiveDecoder .readFlexUIntValueAndLength(source, p)
176- val containerLength = containerSizeValueAndLength .toInt()
177- val prefixLength = containerSizeValueAndLength .shr(Int .SIZE_BITS ).toInt()
178- p + = prefixLength
175+ val childCountValueAndLength = PrimitiveDecoder .readFlexUIntValueAndLength(source, p)
176+ val childCount = childCountValueAndLength .toInt()
177+ val prefixSize = childCountValueAndLength .shr(Int .SIZE_BITS ).toInt()
178+ p + = prefixSize
179179
180180 // If macroAddress > -1, then it is the address of the macro-shaped values,
181181 // and childOpcode should be ignored.
You can’t perform that action at this time.
0 commit comments