We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 384fa17 commit 5fa4170Copy full SHA for 5fa4170
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