From 68a207042de3bcc823218d2f90d6d48868f6617a Mon Sep 17 00:00:00 2001 From: janriemer Date: Thu, 10 Dec 2015 10:12:15 +0100 Subject: [PATCH] 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 --- doc/api/buffer.markdown | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/api/buffer.markdown b/doc/api/buffer.markdown index 5f52acd85c83fe..618ec7bdd75d8c 100644 --- a/doc/api/buffer.markdown +++ b/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`