On this page

    M

    ffi.getRawPointer

    History
    ffi.getRawPointer(source): bigint
    Attributes

    Returns the raw memory address of JavaScript-managed byte storage.

    This is unsafe and dangerous. The returned pointer can become invalid if the underlying memory is detached, resized, transferred, or otherwise invalidated. Using stale pointers can cause memory corruption or process crashes.