UNPKG

univ-conv

Version:

The universal binary and text converter

20 lines 1.01 kB
import { AbstractConverter } from "./AbstractConverter"; import { ConvertOptions, Data, DataType } from "./core"; export declare class BlobConverter extends AbstractConverter<Blob> { type: DataType; empty(): Blob; is(input: unknown): input is Blob; protected _from(input: Data, options: ConvertOptions): Promise<Blob>; protected _getStartEnd(input: Blob, options: ConvertOptions): Promise<{ start: number; end: number | undefined; }>; protected _isEmpty(input: Blob): boolean; protected _merge(chunks: Blob[]): Promise<Blob>; protected _size(input: Blob): Promise<number>; protected _toArrayBuffer(input: Blob, options: ConvertOptions): Promise<ArrayBuffer>; protected _toBase64(input: Blob, options: ConvertOptions): Promise<string>; protected _toText(input: Blob, options: ConvertOptions): Promise<string>; protected _toUint8Array(input: Blob, options: ConvertOptions): Promise<Uint8Array>; } //# sourceMappingURL=BlobConverter.d.ts.map