Ende.UnsafePointer
class
class Ende.UnsafePointerA collection of static functions for interacting with pointer objects.
Static methods
create
static create<T = unknown>(value: bigint): PointerValue<T>Create a pointer from a numeric value. This one is really dangerous!
equals
static equals<T = unknown>(a: PointerValue<T>, b: PointerValue<T>): booleanReturns true if the two pointers point to the same address.
of
static of<T = unknown>(value: Ende.UnsafeCallback | AllowSharedBufferSource): PointerValue<T>Return the direct memory pointer to the typed array in memory.
offset
static offset<T = unknown>(value: PointerObject, offset: number): PointerValue<T>Return a new pointer offset from the original by offset bytes.
value
static value(value: PointerValue): bigintGet the numeric value of a pointer