MCPcopy Create free account
hub / github.com/aghyad97/browserytools / readAsArrayBuffer

Method readAsArrayBuffer

src/test-setup.ts:143–151  ·  view source on GitHub ↗
(_blob: Blob)

Source from the content-addressed store, hash-verified

141 }
142
143 readAsArrayBuffer(_blob: Blob) {
144 this.result = new ArrayBuffer(8);
145 setTimeout(() => {
146 if (this.onload)
147 this.onload({ target: this } as unknown as ProgressEvent<FileReader>);
148 if (this.onloadend)
149 this.onloadend({ target: this } as unknown as ProgressEvent<FileReader>);
150 }, 0);
151 }
152
153 abort() {}
154 addEventListener() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected