Skip to content

Commit 1f10f8b

Browse files
authored
updated readDataReference()
1 parent 177ff0e commit 1f10f8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DataStream/ByteStream.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ module.exports = class {
7171
}
7272
readDataReference() {
7373
var a1 = this.readVInt();
74+
if (a1 == 0) return [0, 0];
7475
var a2 = this.readVInt();
7576
return [a1, a2];
7677
}

0 commit comments

Comments
 (0)