UNPKG

@firebase/storage

Version:

This is the Cloud Storage component of the Firebase JS SDK.

18 lines (17 loc) 677 B
/** * Concatenates one or more values together and converts them to a Blob. * * @param args The values that will make up the resulting blob. * @return The blob. */ export declare function getBlob(...args: Array<string | Blob | ArrayBuffer>): Blob; /** * Slices the blob. The returned blob contains data from the start byte * (inclusive) till the end byte (exclusive). Negative indices cannot be used. * * @param blob The blob to be sliced. * @param start Index of the starting byte. * @param end Index of the ending byte. * @return The blob slice or null if not supported. */ export declare function sliceBlob(blob: Blob, start: number, end: number): Blob | null;