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.cjs.js
CHANGED
|
@@ -12489,7 +12489,7 @@ function fFloat(ctx, targetNumber, endian) {
|
|
|
12489
12489
|
return position + z; // Found the number, return the index
|
|
12490
12490
|
}
|
|
12491
12491
|
}
|
|
12492
|
-
position +=
|
|
12492
|
+
position += buffer.length;
|
|
12493
12493
|
}
|
|
12494
12494
|
return -1; // number not found
|
|
12495
12495
|
}
|
|
@@ -12528,7 +12528,7 @@ function fBigInt(ctx, targetNumber, unsigned, endian) {
|
|
|
12528
12528
|
}
|
|
12529
12529
|
// Update the last chunk for the next iteration
|
|
12530
12530
|
lastChunk = combinedBuffer.subarray(-8 + 1);
|
|
12531
|
-
ctx.offset +=
|
|
12531
|
+
ctx.offset += currentChunk.length;
|
|
12532
12532
|
}
|
|
12533
12533
|
return -1; // number not found
|
|
12534
12534
|
}
|
|
@@ -12582,7 +12582,7 @@ function fDoubleFloat(ctx, targetNumber, endian) {
|
|
|
12582
12582
|
return position + z; // Found the number, return the index
|
|
12583
12583
|
}
|
|
12584
12584
|
}
|
|
12585
|
-
position +=
|
|
12585
|
+
position += buffer.length;
|
|
12586
12586
|
}
|
|
12587
12587
|
return -1; // number not found
|
|
12588
12588
|
}
|