Skip to main content

detect_bytes

Function detect_bytes 

Source
pub fn detect_bytes(runtime: Runtime, hint: &[u8]) -> PythonRuntime
Expand description

detect for a firmware image or a console banner the caller already holds as bytes. The scan is case-insensitive and does not require the hint to be UTF-8.