We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4230539 commit 3d328e9Copy full SHA for 3d328e9
msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java
@@ -171,6 +171,7 @@ public long getTotalReadBytes()
171
172
/**
173
* Get the next buffer without changing the position
174
+ *
175
* @return
176
* @throws IOException
177
*/
@@ -181,6 +182,7 @@ private MessageBuffer getNextBuffer()
181
182
if (next == null) {
183
throw new MessageInsufficientBufferException();
184
}
185
+ assert (buffer != null);
186
totalReadBytes += buffer.size();
187
return next;
188
@@ -194,6 +196,7 @@ private void nextBuffer()
194
196
195
197
198
* Returns a short size buffer (upto 8 bytes) to read a number value
199
200
* @param readLength
201
202
0 commit comments