@@ -298,20 +298,20 @@ function alert(message: string) {
298298}
299299
300300/**
301- * Takes the input data, in the form of a Unicode string containing only characters in the range U+0000 to U+00FF,
302- * each representing a binary byte with values 0x00 to 0xFF respectively, and converts it to its base64 representation,
301+ * Takes the input data, in the form of a Unicode string containing only characters in the range U+0000 to U+00FF,
302+ * each representing a binary byte with values 0x00 to 0xFF respectively, and converts it to its base64 representation,
303303 * which it returns.
304304 */
305305function btoa ( input : string ) : string {
306306 return internal_btoa ( input ) ;
307307}
308308
309309/**
310- * Takes the input data, in the form of a Unicode string containing base64-encoded binary data,
311- * decodes it, and returns a string consisting of characters in the range U+0000 to U+00FF,
312- * each representing a binary byte with values 0x00 to 0xFF respectively,
310+ * Takes the input data, in the form of a Unicode string containing base64-encoded binary data,
311+ * decodes it, and returns a string consisting of characters in the range U+0000 to U+00FF,
312+ * each representing a binary byte with values 0x00 to 0xFF respectively,
313313 * corresponding to that binary data.
314314 */
315315function atob ( input : string ) : string {
316316 return internal_atob ( input ) ;
317- }
317+ }
0 commit comments