CopyBytes
void CopyBytes (char targetBuffer[], int targetIndex, char sourceBuffer[], int sourceIndex, size_t numberOfBytes);
Purpose
Copies the numberOfBytes bytes that start at position sourceIndex of sourceBuffer to position targetIndex of targetBuffer.
Parameters
| Input | ||||
| Name | Type | Description | ||
| targetIndex | int | Zero–based index specifying the location within targetBuffer at which to begin copying bytes. | ||
| sourceBuffer | char [] | Buffer from which to copy bytes. | ||
| sourceIndex | int | Zero–based index specifying the location of the bytes to be copied within the source buffer. | ||
| numberOfBytes | size_t | Number of bytes to copy. | ||
| Output | ||||
| Name | Type | Description | ||
| targetBuffer | char [] | Buffer into which to copy bytes.
|
||
Return Value
None.
Additional Information
Library: Formatting and I/O Library
Include file: formatio.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later
