Skip to main content

check_trace_header

Function check_trace_header 

Source
pub fn check_trace_header(data: &[u8]) -> Result<()>
Expand description

Checks that data starts with the TRACE_HEADER of the supported trace format version. data must contain at least TRACE_HEADER.len() bytes, unless the file is shorter.