Contents

withContiguousMutableStorageIfAvailable(_:)

This method always returns nil without calling body.

Declaration

mutating func withContiguousMutableStorageIfAvailable<R>(_ body: (inout UnsafeMutableBufferPointer<WrappedElement?>) throws -> R) rethrows -> R?

Discussion

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