Function dart_sys::Dart_IsKernel

source ·
pub unsafe extern "C" fn Dart_IsKernel(
    buffer: *const u8,
    buffer_size: isize
) -> bool
Expand description

Returns whether the buffer contains a kernel file.

\param buffer Pointer to a buffer that might contain a kernel binary. \param buffer_size Size of the buffer.

\return Whether the buffer contains a kernel binary (full or partial).