bireader 4.0.5 → 4.0.6
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/cjs/index.d.ts +8 -8
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/indexBrowser.d.ts +8 -8
- package/dist/esm/indexBrowser.js +4 -4
- package/dist/esm/indexBrowser.js.map +1 -1
- package/dist/esm/indexImport.d.ts +8 -8
- package/dist/esm/indexImport.js +4 -4
- package/dist/esm/indexImport.js.map +1 -1
- package/package.json +1 -1
|
@@ -868,21 +868,21 @@ declare class BiBase<DataType, alwaysBigInt> {
|
|
|
868
868
|
*
|
|
869
869
|
* Note: Errors on strict mode if past end of data.
|
|
870
870
|
*
|
|
871
|
-
* @param {
|
|
871
|
+
* @param {Uint8Array | Buffer} data - ``Uint8Array`` or ``Buffer`` to replace in data
|
|
872
872
|
* @param {number} offset - Offset to add it at (defaults to current position)
|
|
873
873
|
* @param {boolean} consume - Move current byte position to end of data (default false)
|
|
874
874
|
*/
|
|
875
|
-
replace(data:
|
|
875
|
+
replace(data: Uint8Array | Buffer, offset?: number, consume?: boolean): void;
|
|
876
876
|
/**
|
|
877
877
|
* Replaces data in data.
|
|
878
878
|
*
|
|
879
879
|
* Note: Errors on strict mode.
|
|
880
880
|
*
|
|
881
|
-
* @param {
|
|
881
|
+
* @param {Uint8Array | Buffer} data - ``Uint8Array`` or ``Buffer`` to replace in data
|
|
882
882
|
* @param {number} offset - Offset to add it at (defaults to current position)
|
|
883
883
|
* @param {boolean} consume - Move current byte position to end of data (default false)
|
|
884
884
|
*/
|
|
885
|
-
overwrite(data:
|
|
885
|
+
overwrite(data: Uint8Array | Buffer, offset?: number, consume?: boolean): void;
|
|
886
886
|
/**
|
|
887
887
|
* Returns part of data from current byte position to end of data unless supplied.
|
|
888
888
|
*
|
|
@@ -7509,21 +7509,21 @@ declare class BiBaseAsync<DataType, alwaysBigInt> {
|
|
|
7509
7509
|
*
|
|
7510
7510
|
* Note: Errors on strict mode.
|
|
7511
7511
|
*
|
|
7512
|
-
* @param {
|
|
7512
|
+
* @param {Uint8Array | Buffer} data - ``Uint8Array`` or ``Buffer`` to replace in data
|
|
7513
7513
|
* @param {number} offset - Offset to add it at (defaults to current position)
|
|
7514
7514
|
* @param {boolean} consume - Move current byte position to end of data (default false)
|
|
7515
7515
|
*/
|
|
7516
|
-
replace(data:
|
|
7516
|
+
replace(data: Uint8Array | Buffer, offset?: number, consume?: boolean): Promise<ReturnMapping<DataType>>;
|
|
7517
7517
|
/**
|
|
7518
7518
|
* Replaces data in data.
|
|
7519
7519
|
*
|
|
7520
7520
|
* Note: Errors on strict mode.
|
|
7521
7521
|
*
|
|
7522
|
-
* @param {
|
|
7522
|
+
* @param {Uint8Array | Buffer} data - ``Uint8Array`` or ``Buffer`` to replace in data
|
|
7523
7523
|
* @param {number} offset - Offset to add it at (defaults to current position)
|
|
7524
7524
|
* @param {boolean} consume - Move current byte position to end of data (default false)
|
|
7525
7525
|
*/
|
|
7526
|
-
overwrite(data:
|
|
7526
|
+
overwrite(data: Uint8Array | Buffer, offset?: number, consume?: boolean): Promise<ReturnMapping<DataType>>;
|
|
7527
7527
|
/**
|
|
7528
7528
|
* Returns part of data from current byte position to end of data unless supplied.
|
|
7529
7529
|
*
|
package/dist/esm/indexBrowser.js
CHANGED
|
@@ -2825,7 +2825,7 @@ class BiBase {
|
|
|
2825
2825
|
*
|
|
2826
2826
|
* Note: Errors on strict mode if past end of data.
|
|
2827
2827
|
*
|
|
2828
|
-
* @param {
|
|
2828
|
+
* @param {Uint8Array | Buffer} data - ``Uint8Array`` or ``Buffer`` to replace in data
|
|
2829
2829
|
* @param {number} offset - Offset to add it at (defaults to current position)
|
|
2830
2830
|
* @param {boolean} consume - Move current byte position to end of data (default false)
|
|
2831
2831
|
*/
|
|
@@ -2876,7 +2876,7 @@ class BiBase {
|
|
|
2876
2876
|
*
|
|
2877
2877
|
* Note: Errors on strict mode.
|
|
2878
2878
|
*
|
|
2879
|
-
* @param {
|
|
2879
|
+
* @param {Uint8Array | Buffer} data - ``Uint8Array`` or ``Buffer`` to replace in data
|
|
2880
2880
|
* @param {number} offset - Offset to add it at (defaults to current position)
|
|
2881
2881
|
* @param {boolean} consume - Move current byte position to end of data (default false)
|
|
2882
2882
|
*/
|
|
@@ -14073,7 +14073,7 @@ class BiBaseAsync {
|
|
|
14073
14073
|
*
|
|
14074
14074
|
* Note: Errors on strict mode.
|
|
14075
14075
|
*
|
|
14076
|
-
* @param {
|
|
14076
|
+
* @param {Uint8Array | Buffer} data - ``Uint8Array`` or ``Buffer`` to replace in data
|
|
14077
14077
|
* @param {number} offset - Offset to add it at (defaults to current position)
|
|
14078
14078
|
* @param {boolean} consume - Move current byte position to end of data (default false)
|
|
14079
14079
|
*/
|
|
@@ -14131,7 +14131,7 @@ class BiBaseAsync {
|
|
|
14131
14131
|
*
|
|
14132
14132
|
* Note: Errors on strict mode.
|
|
14133
14133
|
*
|
|
14134
|
-
* @param {
|
|
14134
|
+
* @param {Uint8Array | Buffer} data - ``Uint8Array`` or ``Buffer`` to replace in data
|
|
14135
14135
|
* @param {number} offset - Offset to add it at (defaults to current position)
|
|
14136
14136
|
* @param {boolean} consume - Move current byte position to end of data (default false)
|
|
14137
14137
|
*/
|