Deno.UnsafePointer

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;
}

§Constructors

§
new UnsafePointer(value: bigint)
[src]

§Properties

§
value: bigint
[src]

§Methods

§
valueOf(): bigint
[src]

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