Skip to main content

parse_file

Function parse_file 

Source
pub fn parse_file(
    name: RawStr,
    data: Bytes,
    ty: FileType,
    parent: Option<Parent>,
    meter: &Arc<Meter>,
    ctx: &Arc<FileContext>,
) -> Result<File, Error>
Expand description

parse_file: builds the file ty says, under the name rule (crate::detect::parsed_as), from bytes (UnityPy’s memory reader). A file with a parent is an entry. Everything it keeps is charged to meter, the input’s.