Initializer

init(_:)

Creates an immutable typed buffer pointer referencing the same memory as the given mutable buffer pointer.

Declaration

init(_ other: UnsafeMutableBufferPointer<Element>)

Parameters

other

The mutable buffer pointer to convert.