naive-upload
Version:
<p align="left"> <a href="https://www.npmjs.org/package/naive-upload"> <img src="https://img.shields.io/npm/v/naive-upload.svg"> </a> <a href="https://bundlephobia.com/package/naive-upload@latest"> <img src="https://img.shields.io/bundl
24 lines (23 loc) • 426 B
TypeScript
/**
* 文件读取帮助类
*
* @author LCTR
* @date 2022-09-22
*/
export default class FileReadHelper {
constructor();
/**
* 读取器
*/
private readonly Reader;
/**
* 读取数据
*
* @param blob
*/
readAsArrayBuffer(this: FileReadHelper, blob: Blob): Promise<ArrayBuffer>;
/**
* 关闭
*/
close(this: FileReadHelper): void;
}