We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eabc122 commit b4ab94aCopy full SHA for b4ab94a
msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java
@@ -503,19 +503,15 @@ public void skipValue() throws IOException {
503
break;
504
case ARRAY16:
505
remainingValues += readNextLength16();
506
- consume(2);
507
508
case ARRAY32:
509
remainingValues += readNextLength32();
510
- consume(4);
511
512
case MAP16:
513
remainingValues += readNextLength16() * 2;
514
515
516
case MAP32:
517
remainingValues += readNextLength32() * 2; // TODO check int overflow
518
519
520
case NEVER_USED:
521
throw new MessageFormatException(String.format("unknown code: %02x is found", b));
0 commit comments