Function: read()
read(
handle,type,offset):unknown
Defined in: packages/ffi/src/native/lifecycle.ts:98
Reads a value from native memory.
Parameters
| Parameter | Type | Description |
|---|---|---|
handle | unknown | Handle to the memory region |
type | Type | Type descriptor for unmarshaling |
offset | number | Byte offset within the memory region |
Returns
unknown
The unmarshaled value
Throws
If runtime not started