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.
Creates an immutable typed buffer pointer referencing the same memory as the given mutable buffer pointer.
init(_ other: UnsafeMutableBufferPointer<Element>)The mutable buffer pointer to convert.