mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: remove description duplication in buffer.md
PR-URL: https://github.com/nodejs/node/pull/27030 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
@@ -530,7 +530,7 @@ console.log(buf);
|
||||
// Prints: <Buffer 00 00 00 00 00>
|
||||
```
|
||||
|
||||
Allocates a new `Buffer` of `size` bytes. If `size` is larger than
|
||||
If `size` is larger than
|
||||
[`buffer.constants.MAX_LENGTH`] or smaller than 0, [`ERR_INVALID_OPT_VALUE`] is
|
||||
thrown. A zero-length `Buffer` is created if `size` is 0.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user