File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -461,8 +461,8 @@ changes:
461
461
* ` string ` {string} String to encode.
462
462
* ` encoding ` {string} The encoding of ` string ` . ** Default:** ` 'utf8' `
463
463
464
- Creates a new ` Buffer ` containing ` string ` . If provided, the ` encoding `
465
- parameter identifies the character encoding of ` string ` .
464
+ Creates a new ` Buffer ` containing ` string ` . The ` encoding ` parameter identifies
465
+ the character encoding of ` string ` .
466
466
467
467
``` js
468
468
const buf1 = new Buffer (' this is a tést' );
@@ -839,8 +839,8 @@ added: v5.10.0
839
839
* ` string ` {string} A string to encode.
840
840
* ` encoding ` {string} The encoding of ` string ` . ** Default:** ` 'utf8' `
841
841
842
- Creates a new ` Buffer ` containing ` string ` . If provided, the ` encoding `
843
- parameter identifies the character encoding of ` string ` .
842
+ Creates a new ` Buffer ` containing ` string ` . The ` encoding ` parameter identifies
843
+ the character encoding of ` string ` .
844
844
845
845
``` js
846
846
const buf1 = Buffer .from (' this is a tést' );
You can’t perform that action at this time.
0 commit comments