Skip to content

Commit f2d78fd

Browse files
lex111non4me
andauthored
Update 4-binary/02-text-decoder/article.md
Co-Authored-By: non4me <post@itman.ru>
1 parent e95ae03 commit f2d78fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

4-binary/02-text-decoder/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ let encoder = new TextEncoder();
6464
Поддерживается только кодировка "utf-8".
6565

6666
Кодировщик имеет следующие два метода:
67-
- **`encode(str)`** -- возвращает строку закодированную в `Uint8Array` бинарный массив.
67+
- **`encode(str)`** -- возвращает бинарный массив `Uint8Array`, содержащий закодированную строку.
6868
- **`encodeInto(str, destination)`** -- кодирует строку (`str`) и помещает её в `destination`, который должен быть экземпляром `Uint8Array`.
6969

7070
```js run

0 commit comments

Comments
 (0)