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 <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
janriemer authored and Myles Borins committed Jan 19, 2016
1 parent fb8e8db commit cf214e5
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 cf214e5

Please sign in to comment.