Product Type
Pointer
A typed memory address whose contents can be read.
type Pointer<Pointee>: Regular
Members
Bindings
var base: ???
Functions
fun advance(by n: Int) -> Pointer<Pointee>
Returns self offset forward by n array elements of Pointee type.
static fun null() -> Pointer<Pointee>
Creates an instance that does not address any usable storage.
Subscripts
subscript unsafe(): Pointee { let }
The value at the given address.
property raw: MemoryAddress { let }
Projects a copy of self as a raw memory address.
Initializers
init()
init(_ p: PointerToMutable<Pointee>)
Creates an instance representing the same address as p.
init<Other>(type_punning p: PointerToMutable<Other>)
Creates an instance referring to the same address as p.