Instance Methodswift 6.0.3Dispatch

copyBytes(to:count:)

Copy the contents of the data to a pointer.

func copyBytes(to pointer: UnsafeMutableRawBufferPointer, count: Int)

Parameters

pointer

A pointer to the buffer you wish to copy the bytes into. The buffer must be large enough to hold count bytes.

count

The number of bytes to copy.