From ee1865dd2fbc422a3aafa3c3ac5d6f43d8823264 Mon Sep 17 00:00:00 2001 From: Steve Mao Date: Sat, 21 May 2016 20:37:53 +1000 Subject: [PATCH] doc: clarify buffer class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://github.com/nodejs/node/issues/6891 PR-URL: https://github.com/nodejs/node/pull/6914 Reviewed-By: Claudio Rodriguez Reviewed-By: James M Snell Reviewed-By: Сковорода Никита Андреевич Reviewed-By: Anna Henningsen --- doc/api/buffer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 3e8a6a9d1c..f20f80c747 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -18,7 +18,7 @@ The size of the `Buffer` is established when it is created and cannot be resized. The `Buffer` class is a global within Node.js, making it unlikely that one -would need to ever use `require('buffer')`. +would need to ever use `require('buffer').Buffer`. ```js const buf1 = Buffer.alloc(10);