Skip to content

Commit 8d2ff6a

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

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
@@ -65,7 +65,7 @@ let encoder = new TextEncoder();
6565

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

7070
```js run
7171
let encoder = new TextEncoder();

0 commit comments

Comments
 (0)