We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a34cccc commit d0ba631Copy full SHA for d0ba631
doc/api/buffer.md
@@ -42,7 +42,7 @@ const buf4 = Buffer.from([1, 2, 3]);
42
const buf5 = Buffer.from('tést');
43
44
// Creates a Buffer containing Latin-1 bytes [0x74, 0xe9, 0x73, 0x74].
45
-const buf6 = Buffer.from('tést', 'latin-1');
+const buf6 = Buffer.from('tést', 'latin1');
46
```
47
48
## `Buffer.from()`, `Buffer.alloc()`, and `Buffer.allocUnsafe()`
0 commit comments