Function cpclib_asm::assembler::file::load_binary
source · pub fn load_binary(
fname: Either<&'_ Path, (&'_ str, &'_ Env)>,
options: &ParserOptions
) -> Result<Vec<u8>, AssemblerError>Expand description
Load a file
- if path is provided, this is the file name used
- if a string is provided, there is a search of appropriate filename