Skip to main content

read_from_data

Function read_from_data 

Source
pub fn read_from_data(
    archive_data: &[u8],
    rlib_path: &Path,
) -> Option<RmetaLink>
Expand description

Like read, but parses the archive from raw bytes.

Use this when the caller’s ArchiveFile comes from a different version of the object crate.