mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: update Buffer encoding option count
https://github.com/nodejs/node/pull/36952 added the `base64url` encoding option. Easier to just remove the count of options so it doesn’t need to be updated to four, five, etc. in the future. PR-URL: https://github.com/nodejs/node/pull/37102 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
03460432af
commit
b79b82de8e
1 file changed
+1
-1
+1
-1
@@ -99,7 +99,7 @@ The character encodings currently supported by Node.js are the following:
|
||||
Converting a `Buffer` into a string using one of the above is referred to as
|
||||
decoding, and converting a string into a `Buffer` is referred to as encoding.
|
||||
|
||||
Node.js also supports the following two binary-to-text encodings. For
|
||||
Node.js also supports the following binary-to-text encodings. For
|
||||
binary-to-text encodings, the naming convention is reversed: Converting a
|
||||
`Buffer` into a string is typically referred to as encoding, and converting a
|
||||
string into a `Buffer` as decoding.
|
||||
|
||||
Reference in new issue
Block a user