* @see https://w3c.github.io/FileAPI/#dfn-abort
()
| 15533 | * @see https://w3c.github.io/FileAPI/#dfn-readAsArrayBuffer |
| 15534 | * @param {import('buffer').Blob} blob |
| 15535 | */ |
| 15536 | readAsArrayBuffer(blob) { |
| 15537 | webidl.brandCheck(this, _FileReader); |
| 15538 | webidl.argumentLengthCheck(arguments, 1, "FileReader.readAsArrayBuffer"); |
| 15539 | blob = webidl.converters.Blob(blob, { strict: false }); |
| 15540 | readOperation(this, blob, "ArrayBuffer"); |
| 15541 | } |
| 15542 | /** |
| 15543 | * @see https://w3c.github.io/FileAPI/#readAsBinaryString |
| 15544 | * @param {import('buffer').Blob} blob |
| 15545 | */ |
| 15546 | readAsBinaryString(blob) { |
| 15547 | webidl.brandCheck(this, _FileReader); |
| 15548 | webidl.argumentLengthCheck(arguments, 1, "FileReader.readAsBinaryString"); |
| 15549 | blob = webidl.converters.Blob(blob, { strict: false }); |
| 15550 | readOperation(this, blob, "BinaryString"); |
| 15551 | } |
| 15552 | /** |
nothing calls this directly
no test coverage detected