UNPKG

@bitblit/asyncglk

Version:
6 lines (5 loc) 347 B
export type ProgressCallback = (bytes: number) => void; /** Parse Base 64 into a Uint8Array */ export declare function parse_base64(data: string): Promise<Uint8Array>; /** Read a response, with optional progress notifications */ export declare function read_response(response: Response, progress_callback?: ProgressCallback): Promise<Uint8Array>;