function
memcpy
memcpy[count: Int](dest: LegacyPointer[type, address_space], src: LegacyPointer[type, address_space])
Copies a memory area.
Parameters:
- count (
Int
): The number of elements to copy (not bytes!).
Args:
- dest (
LegacyPointer[type, address_space]
): The destination pointer. - src (
LegacyPointer[type, address_space]
): The source pointer.
memcpy[count: Int](dest: DTypePointer[type, address_space], src: DTypePointer[type, address_space])
Copies a memory area.
Parameters:
- count (
Int
): The number of elements to copy (not bytes!).
Args:
- dest (
DTypePointer[type, address_space]
): The destination pointer. - src (
DTypePointer[type, address_space]
): The source pointer.
memcpy(dest: LegacyPointer[type, address_space], src: LegacyPointer[type, address_space], count: Int)
Copies a memory area.
Args:
- dest (
LegacyPointer[type, address_space]
): The destination pointer. - src (
LegacyPointer[type, address_space]
): The source pointer. - count (
Int
): The number of elements to copy.
memcpy(dest: DTypePointer[type, address_space], src: DTypePointer[type, address_space], count: Int)
Copies a memory area.
Args:
- dest (
DTypePointer[type, address_space]
): The destination pointer. - src (
DTypePointer[type, address_space]
): The source pointer. - count (
Int
): The number of elements to copy (not bytes!).