Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
  • Loading branch information
janriemer authored and janriemer committed Dec 11, 2015
commit 68a207042de3bcc823218d2f90d6d48868f6617a
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