From 4d186f270fa4cea9835ec60b4417d7ca6f83422a Mon Sep 17 00:00:00 2001 From: koichik Date: Sun, 14 Aug 2011 23:10:36 +0900 Subject: [PATCH] Docs: Not memcpy, but memmove Fixes #1520. --- doc/api/buffers.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/buffers.markdown b/doc/api/buffers.markdown index b8e3e912f9..754e94452b 100644 --- a/doc/api/buffers.markdown +++ b/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`.