(blob: Blob)
| 591 | } |
| 592 | |
| 593 | public readAsText(blob: Blob) { |
| 594 | this._read(blob, 'readAsText'); |
| 595 | const textDecoder = new TextDecoder(); |
| 596 | this._result = textDecoder.decode(Blob.InternalAccessor.getBuffer(blob)); |
| 597 | } |
| 598 | |
| 599 | public readAsArrayBuffer(blob: Blob) { |
| 600 | this._read(blob, 'readAsArrayBuffer'); |
no test coverage detected