Function cpclib_asm::assembler::file::load_binary
source · [−]pub fn load_binary(
fname: Either<&Path, &str>,
ctx: &ParserContext,
env: &Env
) -> 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