MCPcopy Index your code
hub / github.com/ampproject/amphtml / arrayBuffer

Method arrayBuffer

src/polyfills/fetch.js:182–186  ·  view source on GitHub ↗

* Drains the response and returns a promise that resolves with the response * ArrayBuffer. * @return {!Promise<!ArrayBuffer>}

()

Source from the content-addressed store, hash-verified

180 * @return {!Promise<!ArrayBuffer>}
181 */
182 arrayBuffer() {
183 return /** @type {!Promise<!ArrayBuffer>} */ (
184 this.drainText_().then(utf8Encode)
185 );
186 }
187}
188
189/**

Callers 4

invokeValidator_Method · 0.45
handleFallback_Method · 0.45
startValidationFlow_Method · 0.45

Calls 2

drainText_Method · 0.95
thenMethod · 0.45

Tested by

no test coverage detected