File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1572,10 +1572,6 @@ method steps are:
1572
1572
1573
1573
<li><p> Let <var> written</var> be 0.
1574
1574
1575
- <li><p> Let <var> destinationBytes</var> be the result of
1576
- <a lt="get a reference to the buffer source">getting a reference to the bytes held by</a>
1577
- <var> destination</var> .
1578
-
1579
1575
<li><p> Let <var> encoder</var> be an instance of the <a>UTF-8 encoder</a> .
1580
1576
1581
1577
<li>
@@ -1603,7 +1599,7 @@ method steps are:
1603
1599
1604
1600
<ol>
1605
1601
<li>
1606
- <p> If <var> destinationBytes </var> 's <a for="byte sequence"> length</a> −
1602
+ <p> If <var> destination </var> 's <a for="BufferSource">byte length</a> −
1607
1603
<var> written</var> is greater than or equal to the number of bytes in <var> result</var> , then:
1608
1604
1609
1605
<ol>
@@ -1612,7 +1608,8 @@ method steps are:
1612
1608
<li><p> Otherwise, increment <var> read</var> by 1.
1613
1609
1614
1610
<li>
1615
- <p> Write the bytes in <var> result</var> into <var> destinationBytes</var> , from byte offset
1611
+ <p> <a for="ArrayBufferView">Write</a> the bytes in <var> result</var> into
1612
+ <var> destination</var> , with <a for="ArrayBufferView/write"><i>startingOffset</i></a> set to
1616
1613
<var> written</var> .
1617
1614
1618
1615
<p class=warning> See the
You can’t perform that action at this time.
0 commit comments