FFI::memcpy

Copies one memory area to another

Description

public static void FFI::memcpy(FFI\CData &$to, FFI\CDatastring &$from, int $size)

Copies size bytes from the memory area from to the memory area to.

Parameters

to

The start of the memory area to copy to.

from

The start of the memory area to copy from.

size

The number of bytes to copy.

Return Values

No value is returned.