provides some shared utils for working with foreign function interfaces in Deno and Bun and a shim for bun.
Represents an error that occurs when a symbol is missing in a library.
Represents a platform-specific integer pointer.
bun
Enables the bun ffi module to be imported within modulesthat use the deno language server to providing cross runtimemodules that ship to jsr.io
Turn a native library's function pointer into a JavaScript function
Get a string from a UTF-8 encoded C stringIf byteLength
is not provided, the string is assumed to be null-terminated.
Open a library using "bun:ffi"
Pass a JavaScript function to FFI (Foreign Function Interface)
Link a map of symbols to JavaScript functions
Get the pointer backing a TypedArray or ArrayBuffer
The read function behaves similarly to DataView,but it's usually faster because it doesn't need to create a DataView or ArrayBuffer.
The read function behaves similarly to DataView,but it's usually faster because it doesn't need to create a DataView or ArrayBuffer.
The read function behaves similarly to DataView,but it's usually faster because it doesn't need to create a DataView or ArrayBuffer.
The read function behaves similarly to DataView,but it's usually faster because it doesn't need to create a DataView or ArrayBuffer.
The read function behaves similarly to DataView,but it's usually faster because it doesn't need to create a DataView or ArrayBuffer.
The read function behaves similarly to DataView,but it's usually faster because it doesn't need to create a DataView or ArrayBuffer.
The read function behaves similarly to DataView,but it's usually faster because it doesn't need to create a DataView or ArrayBuffer.
The read function behaves similarly to DataView,but it's usually faster because it doesn't need to create a DataView or ArrayBuffer.
The read function behaves similarly to DataView,but it's usually faster because it doesn't need to create a DataView or ArrayBuffer.
The read function behaves similarly to DataView,but it's usually faster because it doesn't need to create a DataView or ArrayBuffer.
The read function behaves similarly to DataView,but it's usually faster because it doesn't need to create a DataView or ArrayBuffer.
The read function behaves similarly to DataView,but it's usually faster because it doesn't need to create a DataView or ArrayBuffer.
Platform-specific file extension name for dynamic libraries
Read a pointer as an ArrayBuffer
View the generated C code for FFI bindings
Represents an error that occurs when a symbol is missing in a library.
Represents a platform-specific integer pointer.