Skip to content

Commit

Permalink
doc: move description of 'equals' method to right place
Browse files Browse the repository at this point in the history
the description of buffer.equals(otherBuffer) was at the wrong
place; move it underneath the method signature

PR-URL: #4227
Reviewed-By: Brian White <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
janriemer authored and jasnell committed Dec 11, 2015
1 parent 9a9c525 commit 1a21a53
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/api/buffer.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit 1a21a53

Please sign in to comment.