Instance Method
copyBytes(to:from:)
Copy a subset of the contents of the data to a pointer.
func copyBytes(to pointer: UnsafeMutableRawBufferPointer, from range: Range<DispatchData.Index>)
Parameters
pointerA pointer to the buffer you wish to copy the bytes into. The buffer must be large enough to hold
countbytes.rangeThe range in the
Datato copy.