Browse files

Docs: Not memcpy, but memmove

Fixes #1520.
  • Loading branch information...
1 parent 028b33b commit 4d186f270fa4cea9835ec60b4417d7ca6f83422a @koichik koichik committed Aug 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/buffers.markdown
@@ -126,7 +126,7 @@ buffer object. It does not change when the contents of the buffer are changed.
### buffer.copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
-Does a memcpy() between buffers.
+Does copy between buffers. The source and target regions can be overlapped.
Example: build two Buffers, then copy `buf1` from byte 16 through byte 19
into `buf2`, starting at the 8th byte in `buf2`.

0 comments on commit 4d186f2

Please sign in to comment.