Unit 'Exec' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

CopyMemQuick

Fast memory copy function

Declaration

Source position: exec.pas line 1316

procedure CopyMemQuick(

  const Source: Pointer;

  Dest: Pointer;

  Size: LongWord

);

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