Contents

withContiguousStorageIfAvailable(_:)

This method always returns nil without calling body.

Declaration

func withContiguousStorageIfAvailable<R>(_ body: (UnsafeBufferPointer<WrappedElement?>) throws -> R) rethrows -> R?

Discussion

Use the version of this method that uses a buffer of non-optional elements.