File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2306,6 +2306,9 @@ added: v3.0.0
23062306On 32-bit architectures, this value is ` (2^30)-1 ` (~ 1GB).
23072307On 64-bit architectures, this value is ` (2^31)-1 ` (~ 2GB).
23082308
2309+ Note that this is a property on the ` buffer ` module as returned by
2310+ ` require('buffer') ` , not on the ` Buffer ` global or a ` Buffer ` instance.
2311+
23092312## buffer.transcode(source, fromEnc, toEnc)
23102313<!-- YAML
23112314added: v7.1.0
@@ -2333,6 +2336,9 @@ console.log(newBuf.toString('ascii'));
23332336Because the Euro (` € ` ) sign is not representable in US-ASCII, it is replaced
23342337with ` ? ` in the transcoded ` Buffer ` .
23352338
2339+ Note that this is a property on the ` buffer ` module as returned by
2340+ ` require('buffer') ` , not on the ` Buffer ` global or a ` Buffer ` instance.
2341+
23362342## Class: SlowBuffer
23372343<!-- YAML
23382344deprecated: v6.0.0
You can’t perform that action at this time.
0 commit comments