Skip to main content

Function: write()

write(handle, type, offset, value): void

Defined in: packages/ffi/src/native/lifecycle.ts:132

Writes a value to native memory.

Parameters

ParameterTypeDescription
handleunknownHandle to the memory region
typeTypeType descriptor for marshaling
offsetnumberByte offset within the memory region
valueunknownValue to write

Returns

void

Throws

If runtime not started