We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 431bfe1 commit 6f014d0Copy full SHA for 6f014d0
doc/api/buffer.md
@@ -111,7 +111,8 @@ string into a `Buffer` as decoding.
111
112
* `'base64'`: [Base64][] encoding. When creating a `Buffer` from a string,
113
this encoding will also correctly accept "URL and Filename Safe Alphabet" as
114
- specified in [RFC 4648, Section 5][].
+ specified in [RFC 4648, Section 5][]. Whitespace characters such as spaces,
115
+ tabs, and new lines contained within the base64-encoded string are ignored.
116
117
* `'hex'`: Encode each byte as two hexadecimal characters. Data truncation
118
may occur when decoding string that do exclusively contain valid hexadecimal
0 commit comments