ffi.getRawPointer(source)


返回由 JavaScript 管理的字节存储的原始内存地址。

🌐 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.