Skip to main content

is_native_header

Function is_native_header 

Source
pub fn is_native_header(header: &[u8]) -> bool
Expand description

What: Report whether the bytes begin with a native executable signature. Why: Native candidates skip the script-marker search entirely.

In TS you’d write (pseudocode):

function isNativeHeader(header: Uint8Array): boolean;