Copies the specified number of bytes from the given raw pointer’s memory into this pointer’s memory.
- Xcode 9.3+
- Swift Standard Library
A pointer to the memory to copy bytes from. The memory in the region
source..<(source + bytemust be initialized to a trivial type.
The number of bytes to copy.
bytemust not be negative.
byte bytes of memory referenced by this pointer are bound to a type
T must be a trivial type, this pointer and
source must be properly aligned for accessing
byte must be a multiple of
byte bytes of memory referenced by this pointer are initialized to raw bytes. If the memory is bound to type
T, then it contains values of type