Fixed bug in Protobuf library causing issues with long keys

This commit is contained in:
n1474335 2019-08-20 15:20:43 +01:00
parent ae1cd8ba3e
commit 82abdb50b1
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ class Protobuf {
(this.data[this.offset] & this.VALUE) << shift :
(this.data[this.offset] & this.VALUE) * Math.pow(2, shift);
shift += 7;
} while ((this.data[this.offset++] & this.MSD) === this.MSB);
} while ((this.data[this.offset++] & this.MSB) === this.MSB);
return fieldNumber;
}