evaluateQuickjsByteCode function
Implementation
void evaluateQuickjsByteCode(int contextId, Uint8List bytes) {
if (KrakenController.getControllerOfJSContextId(contextId) == null) {
return;
}
Pointer<Uint8> byteData = malloc.allocate(sizeOf<Uint8>() * bytes.length);
byteData.asTypedList(bytes.length).setAll(0, bytes);
_evaluateQuickjsByteCode(contextId, byteData, bytes.length);
malloc.free(byteData);
}