MCPcopy Create free account
hub / github.com/breck7/scroll / responseArrayBuffer

Function responseArrayBuffer

external/.d3.js:8332–8335  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

8330}
8331
8332function responseArrayBuffer(response) {
8333 if (!response.ok) throw new Error(response.status + " " + response.statusText);
8334 return response.arrayBuffer();
8335}
8336
8337function buffer(input, init) {
8338 return fetch(input, init).then(responseArrayBuffer);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected