withUnsafeBytes(_:)

Read the buffer synchronously on the CPU. The buffer provided is only valid for the lifetime of the callback.

Declaration

final func withUnsafeBytes(_ callback: (UnsafeRawBufferPointer) -> Void)