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