[−][src]Function dart_sys::Dart_LoadScriptFromKernel
pub unsafe extern "C" fn Dart_LoadScriptFromKernel(
kernel_buffer: *const u8,
kernel_size: isize
) -> Dart_Handle
Loads the root library for the current isolate.
Requires there to be no current root library.
\param buffer A buffer which contains a kernel binary (see pkg/kernel/binary.md). Must remain valid until isolate group shutdown. \param buffer_size Length of the passed in buffer.
\return A handle to the root library, or an error.