init(bytes:count:)
Creates data with copied memory content.
Declaration
init(bytes: UnsafeRawPointer, count: Int)Parameters
- bytes:
A pointer to the memory to copy.
- count:
The number of bytes to copy.
Creates data with copied memory content.
init(bytes: UnsafeRawPointer, count: Int)A pointer to the memory to copy.
The number of bytes to copy.