Browse Source

doc: move description of 'equals' method to right place

the description of buffer.equals(otherBuffer) was at the wrong
place; move it underneath the method signature

PR-URL: https://github.com/nodejs/node/pull/4227
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
v4.x
janriemer 9 years ago
committed by Myles Borins
parent
commit
cf214e56e4
  1. 5
      doc/api/buffer.markdown

5
doc/api/buffer.markdown

@ -208,9 +208,6 @@ Example: copy an ASCII string into a buffer, one byte at a time:
// Node.js
Returns a boolean indicating whether `this` and `otherBuffer` have the same
bytes.
### buf.compare(otherBuffer)
* `otherBuffer` {Buffer}
@ -267,6 +264,8 @@ region in the same buffer
* `otherBuffer` {Buffer}
Returns a boolean indicating whether `this` and `otherBuffer` have the same bytes.
### buf.fill(value[, offset][, end])
* `value`

Loading…
Cancel
Save