We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ef1e24 commit b44964eCopy full SHA for b44964e
doc/api/buffer.markdown
@@ -358,6 +358,8 @@ if the target memory region overlaps with the source. If `undefined` the
358
`targetStart` and `sourceStart` parameters default to `0` while `sourceEnd`
359
defaults to `buffer.length`.
360
361
+Returns the number of bytes copied.
362
+
363
Example: build two Buffers, then copy `buf1` from byte 16 through byte 19
364
into `buf2`, starting at the 8th byte in `buf2`.
365
0 commit comments