Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
class 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

Constructors

new
UnsafePointer(value: bigint)

Properties

value: bigint

Methods

valueOf(): bigint

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

Static Methods

of(typedArray: TypedArray): UnsafePointer

Return the direct memory pointer to the typed array in memory