Initializer

init(_:)

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

Declaration

init?(_ other: UnsafeMutablePointer<Pointee>?)

Parameters

other

The pointer to convert. If other is nil, the result is nil.