copy-bytes

Copies bytes from one byte collection to another, or copies bytes within a byte collection.  Count bytes are copied starting from src-index in src-coll to dest-index in dest coll.  The destination byte range may overlap with the source byte range.

Exported from

Modifiers

sealed

Arguments

dest-collAn instance of <buffer>, <byte-vector>, <unicode-string>, or <byte-string>.
dest-indexAn instance of <integer>.
src-collAn instance of <buffer>, <byte-vector>, <unicode-string>, or <byte-string>.
src-indexAn instance of <integer>.
countAn instance of <integer>.

See also

<buffer-index>, which is identical to <integer>.

The System module exports an interface to the C language (the C-FFI) and certain operating system calls.
The byte-vector module.
There are two unrelated <buffer> classes.
A <vector> that holds integers between 0 and 255 inclusively.
The class of vectors with elements that are sixteen-bit Unicode characters.
The class of vectors with elements that are eight-bit characters.
The class of integers.
There are two unrelated types named <buffer-index>.