Skip to content

Commit

Permalink
doc: update Buffer encoding option count
Browse files Browse the repository at this point in the history
nodejs#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.
  • Loading branch information
davecardwell committed Jan 27, 2021
1 parent 35fe310 commit be4a202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Expand Up @@ -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.
Expand Down

0 comments on commit be4a202

Please sign in to comment.