You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
538 B
17 lines
538 B
2 years ago
|
import '../_version.js';
|
||
|
/**
|
||
|
* @param {Blob} blob A source blob.
|
||
|
* @param {number} [start] The offset to use as the start of the
|
||
|
* slice.
|
||
|
* @param {number} [end] The offset to use as the end of the slice.
|
||
|
* @return {Object} An object with `start` and `end` properties, reflecting
|
||
|
* the effective boundaries to use given the size of the blob.
|
||
|
*
|
||
|
* @private
|
||
|
*/
|
||
|
declare function calculateEffectiveBoundaries(blob: Blob, start?: number, end?: number): {
|
||
|
start: number;
|
||
|
end: number;
|
||
|
};
|
||
|
export { calculateEffectiveBoundaries };
|