Browse Source

doc: document max `new Buffer(size)`

Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
v0.11.14-release
Jackson Tian 11 years ago
committed by Timothy J Fontaine
parent
commit
4516e6dda4
  1. 4
      doc/api/buffer.markdown

4
doc/api/buffer.markdown

@ -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)

Loading…
Cancel
Save