Contents

withUnsafeBufferPointer(_:)

Calls a closure with a pointer to the object’s contiguous storage.

Declaration

func withUnsafeBufferPointer<R>(_ body: (UnsafeBufferPointer<Self.Element>) throws -> R) rethrows -> R

Parameters