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>
This commit is contained in:
janriemer authored and cjihrig committed 2015-12-15 14:06:54 -05:00
1 parent be888eac7e
commit c96dcf12e2
1 file changed
+2 -3
+2 -3
View File
@@ -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`