Function auditable_info::audit_info_from_slice
source ยท pub fn audit_info_from_slice(
input_binary: &[u8],
decompressed_json_size_limit: usize,
) -> Result<VersionInfo, Error>
Expand description
The input slice should contain the entire binary. This function is useful if you have already loaded the binary to memory, e.g. via memory-mapping.