This commit is contained in:
kamhung
2015-11-27 10:43:29 +08:00
parent 42372fffa6
commit d2000e94f7

View File

@@ -178,7 +178,9 @@ public final class BsonReader implements Reader {
*/
@Override
public int readArrayB() {
return readInt();
short bt = readShort();
if (bt == Reader.SIGN_NULL) return bt;
return (bt & 0xffff) << 16 | ((content[++this.position] & 0xff) << 8) | (content[++this.position] & 0xff);
}
@Override