* Consumes and returns the body as an Uint8Array. * * @see https://fetch.spec.whatwg.org/#dom-body-bytes * @returns {Promise }
()
| 204 | * @returns {Promise<Uint8Array>} |
| 205 | */ |
| 206 | bytes () { |
| 207 | return consume(this, 'bytes') |
| 208 | } |
| 209 | |
| 210 | /** |
| 211 | * Consumes and returns the body as an ArrayBuffer. |