File tree 1 file changed +6
-0
lines changed
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
2306
2306
On 32-bit architectures, this value is ` (2^30)-1 ` (~ 1GB).
2307
2307
On 64-bit architectures, this value is ` (2^31)-1 ` (~ 2GB).
2308
2308
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
+
2309
2312
## buffer.transcode(source, fromEnc, toEnc)
2310
2313
<!-- YAML
2311
2314
added: v7.1.0
@@ -2333,6 +2336,9 @@ console.log(newBuf.toString('ascii'));
2333
2336
Because the Euro (` € ` ) sign is not representable in US-ASCII, it is replaced
2334
2337
with ` ? ` in the transcoded ` Buffer ` .
2335
2338
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
+
2336
2342
## Class: SlowBuffer
2337
2343
<!-- YAML
2338
2344
deprecated: v6.0.0
You can’t perform that action at this time.
0 commit comments