doc: document max new Buffer(size)

Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
This commit is contained in:
Jackson Tian authored and Timothy J Fontaine committed 2014-08-07 16:47:01 -07:00
1 parent a5778cdf01
commit 4516e6dda4
1 file changed
+3 -1
+3 -1
View File
@@ -62,7 +62,9 @@ It can be constructed in a variety of ways.
* `size` Number
Allocates a new buffer of `size` octets.
Allocates a new buffer of `size` octets. Note, `size` must be no more than
[kMaxLength](smalloc.html#smalloc_smalloc_kmaxlength). Otherwise, a `RangeError`
will be thrown here.
### new Buffer(array)