You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`source` {Buffer|TypedArray|DataView|ArrayBuffer|SharedArrayBuffer} The source
929
+
to copy data from.
930
+
*`target` {Buffer|TypedArray|DataView|ArrayBuffer|SharedArrayBuffer} The target
931
+
to copy data to.
932
+
*`targetStart` {integer} The offset within `target` at which to begin writing.
933
+
**Default:**`0`.
934
+
*`sourceStart` {integer} The offset within `source` from which to begin copying.
935
+
**Default:**`0`.
936
+
*`sourceEnd` {integer} The offset within `source` at which to stop copying
937
+
(exclusive). **Default:**`source.byteLength`.
938
+
* Returns: {integer} The number of bytes copied.
939
+
940
+
Copies data from `source` to `target`. This is a method that can copy data between different types of binary data structures, including `Buffer`, `TypedArray`, `DataView`, `ArrayBuffer`, and `SharedArrayBuffer` instances.
0 commit comments