Skip to content
Permalink
Browse files
add byte b
  • Loading branch information
haiyang1985 committed Mar 12, 2020
1 parent 7eba99c commit 3078e6e7445b66b4e7a5e9c96839e4623a96636e
Showing 1 changed file with 2 additions and 0 deletions.
@@ -3362,6 +3362,7 @@ public InputStream readInputStream()

case BC_BINARY:
case BC_BINARY_CHUNK:
case 'b': //maybe it's a mistype of BC_BINARY_CHUNK
_isLastChunk = tag == 'B';
_chunkLength = (read() << 8) + read();
break;
@@ -3412,6 +3413,7 @@ int read(byte[] buffer, int offset, int length)

switch (code) {
case BC_BINARY_CHUNK:
case 'b': //maybe it's a mistype of BC_BINARY_CHUNK
_isLastChunk = false;

_chunkLength = (read() << 8) + read();

0 comments on commit 3078e6e

Please sign in to comment.