From c31eaad42d1f2b1e4fb6d31818696cba769daad0 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.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/buffer.markdown b/doc/api/buffer.markdown index 1120e55953bf8c..2a0b45d0e46a03 100644 --- a/doc/api/buffer.markdown +++ b/doc/api/buffer.markdown @@ -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 = new Buffer(10);