Skip to content

Commit

Permalink
Update protobuf.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Jun 29, 2024
1 parent 7dc6b42 commit 426ec73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/protobuf.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ protobuf.BinaryReader = class {
const length = size >>> 3;
obj = size > 1048576 ? new Float64Array(length) : new Array(length);
for (let i = 0; i < length; i++) {
obj[i] = this.doubles();
obj[i] = this.double();
}
this._position = end;
} else if (obj !== undefined && obj.length < 1000000) {
Expand Down

0 comments on commit 426ec73

Please sign in to comment.