Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-11-30 06:52:47 +0300
committerRyan Dahl <ry@tinyclouds.org>2010-11-30 06:52:47 +0300
commit6d7242b4851ca87944cbb6bbae3aab733f1e5cae (patch)
tree0f5f238a4e1ecea44bb24acf5ffeadf73a243b88 /lib/buffer.js
parenta326eebac8388b8f8a00aaeeef8e9f5ec6d63007 (diff)
Document defaults for buffer.copy()
Diffstat (limited to 'lib/buffer.js')
-rw-r--r--lib/buffer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/buffer.js b/lib/buffer.js
index b777bf0725f..7418aad458f 100644
--- a/lib/buffer.js
+++ b/lib/buffer.js
@@ -280,7 +280,7 @@ Buffer.prototype.toString = function (encoding, start, end) {
Buffer.byteLength = SlowBuffer.byteLength;
-// copy(targetBuffer, targetStart, sourceStart, sourceEnd=buffer.length)
+// copy(targetBuffer, targetStart, sourceStart=0, sourceEnd=buffer.length)
Buffer.prototype.copy = function copy (target, target_start, start, end) {
var source = this;
start || (start = 0);