Skip to content

Commit

Permalink
add byte b
Browse files Browse the repository at this point in the history
  • Loading branch information
haiyang1985 committed Mar 12, 2020
1 parent 7eba99c commit 3078e6e
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 3078e6e

Please sign in to comment.