pub fn parse_file_with_reader(
name: RawStr,
data: Bytes,
ty: FileType,
parent: Option<Parent>,
meter: &Arc<Meter>,
ctx: &Arc<FileContext>,
reader: ReaderKind,
) -> Result<File, Error>Expand description
parse_file by the rules of the reader UnityPy reads the file with:
ReaderKind::Stream for a top-level file loaded from a path
(environment.py:136-139; crate::env::Source::Path), whose
SerializedFile, bundle header or kept reader follows them. A
container’s entries are memory whatever its reader. WebFile members use memory readers after inflation.