bireader 3.1.6 → 3.1.7
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.
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -12468,7 +12468,7 @@ function fFloat(ctx, targetNumber, endian) {
|
|
|
12468
12468
|
return position + z; // Found the number, return the index
|
|
12469
12469
|
}
|
|
12470
12470
|
}
|
|
12471
|
-
position +=
|
|
12471
|
+
position += buffer.length;
|
|
12472
12472
|
}
|
|
12473
12473
|
return -1; // number not found
|
|
12474
12474
|
}
|
|
@@ -12507,7 +12507,7 @@ function fBigInt(ctx, targetNumber, unsigned, endian) {
|
|
|
12507
12507
|
}
|
|
12508
12508
|
// Update the last chunk for the next iteration
|
|
12509
12509
|
lastChunk = combinedBuffer.subarray(-8 + 1);
|
|
12510
|
-
ctx.offset +=
|
|
12510
|
+
ctx.offset += currentChunk.length;
|
|
12511
12511
|
}
|
|
12512
12512
|
return -1; // number not found
|
|
12513
12513
|
}
|
|
@@ -12561,7 +12561,7 @@ function fDoubleFloat(ctx, targetNumber, endian) {
|
|
|
12561
12561
|
return position + z; // Found the number, return the index
|
|
12562
12562
|
}
|
|
12563
12563
|
}
|
|
12564
|
-
position +=
|
|
12564
|
+
position += buffer.length;
|
|
12565
12565
|
}
|
|
12566
12566
|
return -1; // number not found
|
|
12567
12567
|
}
|