dredless 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4498,7 +4498,8 @@
|
|
|
4498
4498
|
}
|
|
4499
4499
|
readFieldDelta() {
|
|
4500
4500
|
const raw = this.readUnsigned();
|
|
4501
|
-
|
|
4501
|
+
const magnitude = Math.floor(raw / 2);
|
|
4502
|
+
return raw % 2 === 0 ? magnitude : -magnitude;
|
|
4502
4503
|
}
|
|
4503
4504
|
readBlob() {
|
|
4504
4505
|
const length = this.readStreamInt();
|