Skip to content

Commit

Permalink
doc: fix line wrapping in buffer.markdown
Browse files Browse the repository at this point in the history
Fix the line wrapping in buffer.markdown

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs/node-v0.x-archive#25591
  • Loading branch information
jasnell committed Aug 4, 2015
1 parent 53b6a61 commit 0b165be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/api/buffer.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ It can be constructed in a variety of ways.

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. Unlike `ArrayBuffers`, the underlying memory for buffers is not initialized. So the contents of a newly created `Buffer` is unknown. Use `buf.fill(0)`to initialize a buffer to zeroes.
will be thrown here. Unlike `ArrayBuffers`, the underlying memory for buffers
is not initialized. So the contents of a newly created `Buffer` is unknown.
Use `buf.fill(0)`to initialize a buffer to zeroes.

### new Buffer(array)

Expand Down

0 comments on commit 0b165be

Please sign in to comment.