Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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

§
of(typedArray: TypedArray): UnsafePointer
[src]

Return the direct memory pointer to the typed array in memory