You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 28, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: spec.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -220,7 +220,7 @@ <h1>
220
220
</h1>
221
221
<dlclass="header">
222
222
</dl>
223
-
<p>The <dfnid="standard-base64-alphabet">standard base64 alphabet</dfn> is a List whose elements are the code points corresponding to every letter and number in the Unicode Basic Latin block along with *"+"* and *"/"*; that is, it is StringToCodePoints(*"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"*).</p>
223
+
<p>The <dfnid="standard-base64-alphabet">standard base64 alphabet</dfn> is the String whose elements are the code units corresponding to every letter and number in the Unicode Basic Latin block along with *"+"* and *"/"*; that is, it is *"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"*.</p>
224
224
<emu-alg>
225
225
1. Let _chunkLength_ be the length of _chunk_.
226
226
1. If _chunkLength_ is 2, then
@@ -308,7 +308,7 @@ <h1>
308
308
1. If _char_ is either *"+"* or *"/"*, throw a *SyntaxError* exception.
309
309
1. Else if _char_ is *"-"*, set _char_ to *"+"*.
310
310
1. Else if _char_ is *"_"*, set _char_ to *"/"*.
311
-
1. If _char_ is not an element of the standard base64 alphabet, throw a *SyntaxError* exception.
311
+
1. If the sole code unit of _char_ is not an element of the standard base64 alphabet, throw a *SyntaxError* exception.
312
312
1. Let _remaining_ be _maxLength_ - the length of _bytes_.
313
313
1. If _remaining_ = 1 and _chunkLength_ = 2, or if _remaining_ = 2 and _chunkLength_ = 3, then
314
314
1. Return the Record { [[Read]]: _read_, [[Bytes]]: _bytes_ }.
0 commit comments