(response)
| 8330 | } |
| 8331 | |
| 8332 | function responseArrayBuffer(response) { |
| 8333 | if (!response.ok) throw new Error(response.status + " " + response.statusText); |
| 8334 | return response.arrayBuffer(); |
| 8335 | } |
| 8336 | |
| 8337 | function buffer(input, init) { |
| 8338 | return fetch(input, init).then(responseArrayBuffer); |
nothing calls this directly
no outgoing calls
no test coverage detected