(file: ArrayBuffer | Uint8Array | Blob)
| 61 | } |
| 62 | |
| 63 | async readFile(file: ArrayBuffer | Uint8Array | Blob) { |
| 64 | this.reset(); |
| 65 | this._buffer = await getArrayBuffer(file); |
| 66 | this.readFileInfo(); |
| 67 | return this.fileInfo; |
| 68 | } |
| 69 | |
| 70 | private readFileInfo() { |
| 71 | this.fileInfo = []; |
no test coverage detected