withUnsafeMutableBytes(_:)

Update the buffer’s contents synchronously on the CPU. The buffer provided is only valid for the lifetime of the callback.

Declaration

final func withUnsafeMutableBytes(_ callback: (UnsafeMutableRawBufferPointer) -> Void)