( fileEntry: ScanFileEntry, Writer: new () => T = zip.TextWriter as new () => T )
| 225 | } |
| 226 | |
| 227 | async readFileEntryData<T> ( fileEntry: ScanFileEntry, Writer: new () => T = zip.TextWriter as new () => T ) { |
| 228 | return await fileEntry.getData( |
| 229 | new Writer() |
| 230 | ) |
| 231 | } |
| 232 | |
| 233 | async loadFile (): Promise<ArrayBuffer | Blob | ScanFileLike> { |
| 234 | if ( typeof this.fileLoader !== 'function' ) { |
nothing calls this directly
no outgoing calls
no test coverage detected