Function get_active_header

Source
pub fn get_active_header(
    header_1: Result<&VmgsHeader, Error>,
    header_2: Result<&VmgsHeader, Error>,
) -> Result<usize, Error>
Expand description

Determines which header to use given the results of checking the validity of each of the headers.