UNSTABLE: Unsafe and new API, beware!

An unsafe pointer to a memory location for passing and returning pointers to and from the ffi

class UnsafePointer {
constructor(value: bigint);
value: bigint;
valueOf(): bigint;
static of(typedArray: TypedArray): UnsafePointer;


new UnsafePointer(value: bigint)


value: bigint


valueOf(): bigint

Returns the value of the pointer which is useful in certain scenarios.

§Static Methods


Return the direct memory pointer to the typed array in memory