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.
pub fn check_trace_header(data: &[u8]) -> Result<()>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.