Skip to content

Commit

Permalink
refer to algorithm for making Uint8Array
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed May 4, 2024
1 parent 2a5da28 commit 82a8d8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -7139,8 +7139,7 @@ steps:
<p>Run <var>action</var>.

<p>Whenever one or more bytes are available and <var>stream</var> is not
<a for=ReadableStream>errored</a>, <a for=ReadableStream>enqueue</a> a {{Uint8Array}} wrapping
an {{ArrayBuffer}} containing the available bytes into <var>stream</var>.
<a for=ReadableStream>errored</a>, <a for=ReadableStream>enqueue</a> the result of [=ArrayBufferView/create|creating=] a {{Uint8Array}} from the available bytes into <var>stream</var>.

<p>When running <var>action</var> is done, <a for=ReadableStream>close</a> <var>stream</var>.
</ol>
Expand Down

0 comments on commit 82a8d8d

Please sign in to comment.