init(_:)
Creates a new raw pointer from the given mutable raw pointer.
init?(_ other: UnsafeMutableRawPointer?)
Parameters
- other
The mutable raw pointer to convert. If
other
isnil
, the result isnil
.
Use this initializer to explicitly convert other
to an UnsafeRawPointer
instance. This initializer creates a new pointer to the same address as other
and performs no allocation or copying.