Unit 'exec' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

CopyMemQuick

Fast memory copy function

Declaration

Source position: exec.pas line 2097

procedure CopyMemQuick(

  source: Pointer;

  dest: Pointer;

  size: Cardinal

);

Arguments

source

  

A long aligned pointer to the begin of source data

dest

  

A long aligned pointer to begin of destination memory block

size

  

Number of bytes to be copied from source to destination, 0 is allowed and do nothing

Description

CopyMemQuick is a highly optimized memory copy function, with restrictions on the size and alignment of its arguments. Both the source and destination pointers must be longword aligned. In addition, the size must be an integral number of longwords (e.g. the size must be evenly divisible by four).

Arbitrary overlapping copies are not supported.

See also

CopyMem

  

Copy a given numbers ob bytes in memory


Documentation generated on: 2021-07-30