From d4c73d4823bbed9fb8b4992f2e8aa62c6aa126d4 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Mon, 28 Nov 2016 00:51:44 +0200 Subject: [PATCH] doc: remove an extraneous word in the buffer.md PR-URL: https://github.com/nodejs/node/pull/9795 Reviewed-By: Sam Roberts Reviewed-By: Roman Reiss Reviewed-By: Anna Henningsen --- doc/api/buffer.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 82f9597dd6cfd8..5ae03e45b69cac 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -2293,7 +2293,7 @@ Returns the maximum number of bytes that will be returned when `buf.inspect()` is called. This can be overridden by user modules. See [`util.inspect()`] for more details on `buf.inspect()` behavior. -Note that this is a property on the `buffer` module as returned by +Note that this is a property on the `buffer` module returned by `require('buffer')`, not on the `Buffer` global or a `Buffer` instance. ## buffer.kMaxLength @@ -2306,7 +2306,7 @@ added: v3.0.0 On 32-bit architectures, this value is `(2^30)-1` (~1GB). On 64-bit architectures, this value is `(2^31)-1` (~2GB). -Note that this is a property on the `buffer` module as returned by +Note that this is a property on the `buffer` module returned by `require('buffer')`, not on the `Buffer` global or a `Buffer` instance. ## buffer.transcode(source, fromEnc, toEnc) @@ -2336,7 +2336,7 @@ console.log(newBuf.toString('ascii')); Because the Euro (`€`) sign is not representable in US-ASCII, it is replaced with `?` in the transcoded `Buffer`. -Note that this is a property on the `buffer` module as returned by +Note that this is a property on the `buffer` module returned by `require('buffer')`, not on the `Buffer` global or a `Buffer` instance. ## Class: SlowBuffer