Contents

withUnsafeMutableBufferPointer(_:)

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

Declaration

mutating func withUnsafeMutableBufferPointer<R>(_ body: (inout UnsafeMutableBufferPointer<Self.Element>) throws -> R) rethrows -> R

Parameters