diff options
author | Matt Ranney <mjr@ranney.com> | 2010-06-24 12:26:23 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-06-25 09:10:49 -0700 |
commit | a2f70da4c9bf14a6e0c4a17cac11a5ab555ce90f (patch) | |
tree | 9bad42ebecbc06bdd1a5cbfe7f0ba9384a7adcb0 /doc | |
parent | aa491518f4632cd4c9d6a56382ee8395d42f3adc (diff) | |
download | node-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.markdown | 2 |
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) |