summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMatt Ranney <mjr@ranney.com>2010-06-24 12:26:23 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-06-25 09:10:49 -0700
commita2f70da4c9bf14a6e0c4a17cac11a5ab555ce90f (patch)
tree9bad42ebecbc06bdd1a5cbfe7f0ba9384a7adcb0 /doc
parentaa491518f4632cd4c9d6a56382ee8395d42f3adc (diff)
downloadnode-new-a2f70da4c9bf14a6e0c4a17cac11a5ab555ce90f.tar.gz
Buffer.copy should copy through sourceEnd, as specified.
Improve test-buffer.js to cover all copy error cases. Fix off by one error in string_decoder.
Diffstat (limited to 'doc')
-rw-r--r--doc/api.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api.markdown b/doc/api.markdown
index b412cf997e..b3947da8f3 100644
--- a/doc/api.markdown
+++ b/doc/api.markdown
@@ -177,7 +177,7 @@ into `buf2`, starting at the 8th byte in `buf2`.
buf1.copy(buf2, 8, 16, 20);
console.log(buf2.toString('ascii', 0, 25));
- // !!!!!!!!qrst!!!!!!!!!!!!!
+ // !!!!!!!!qrstu!!!!!!!!!!!!
### buffer.slice(start, end)