Function cpclib_asm::assembler::file::load_binary
source ยท pub fn load_binary(
fname: Either<&'_ Utf8Path, (&'_ str, &'_ Env)>,
options: &ParserOptions,
) -> Result<(VecDeque<u8>, Option<AmsdosHeader>), AssemblerError>
Expand description
Load a file and remove header if any
- if path is provided, this is the file name used
- if a string is provided, there is a search of appropriate filename