Mojo function
memcpy
memcpy[T: AnyType](*, dest: UnsafePointer[T, origin], src: UnsafePointer[T, origin], count: Int)
Copies a memory area.
Parameters:
- βT (
AnyType): The element type.
Args:
- βdest (
UnsafePointer): The destination pointer. - βsrc (
UnsafePointer): The source pointer. - βcount (
Int): The number of elements to copy.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!