* Returns the view for writing in to, or `null` if the BYOB request has already been responded to.
()
| 11166 | * Returns the view for writing in to, or `null` if the BYOB request has already been responded to. |
| 11167 | */ |
| 11168 | get view() { |
| 11169 | if (!IsReadableStreamBYOBRequest(this)) { |
| 11170 | throw byobRequestBrandCheckException("view"); |
| 11171 | } |
| 11172 | return this._view; |
| 11173 | } |
| 11174 | respond(bytesWritten) { |
| 11175 | if (!IsReadableStreamBYOBRequest(this)) { |
| 11176 | throw byobRequestBrandCheckException("respond"); |
nothing calls this directly
no test coverage detected