We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3814e46 commit ab1e5d1Copy full SHA for ab1e5d1
doc/api/buffer.md
@@ -2508,6 +2508,9 @@ encoding to another. Returns a new `Buffer` instance.
2508
Throws if the `fromEnc` or `toEnc` specify invalid character encodings or if
2509
conversion from `fromEnc` to `toEnc` is not permitted.
2510
2511
+Encodings supported by `buffer.transcode()` are: `'ascii'`, `'utf8'`,
2512
+`'utf16le'`, `'ucs2'`, `'latin1'`, and `'binary'`.
2513
+
2514
The transcoding process will use substitution characters if a given byte
2515
sequence cannot be adequately represented in the target encoding. For instance:
2516
0 commit comments