init(mutating:)
Creates a mutable typed buffer pointer referencing the same memory as the given immutable buffer pointer.
Declaration
init(mutating other: UnsafeBufferPointer<Element>)Parameters
- other:
The immutable buffer pointer to convert.
Creates a mutable typed buffer pointer referencing the same memory as the given immutable buffer pointer.
init(mutating other: UnsafeBufferPointer<Element>)The immutable buffer pointer to convert.