Function: write()
write(
handle,type,offset,value):void
Defined in: packages/ffi/src/native/lifecycle.ts:132
Writes a value to native memory.
Parameters
| Parameter | Type | Description |
|---|---|---|
handle | unknown | Handle to the memory region |
type | Type | Type descriptor for marshaling |
offset | number | Byte offset within the memory region |
value | unknown | Value to write |
Returns
void
Throws
If runtime not started