neotron-romfs 2.0.0

Parse a Neotron ROM-FS image
Documentation

Neotron ROMFS Library

A no_std library for creating and parsing ROMFS images.

fn process_rom(data: &[u8]) -> Result<(), neotron_romfs::Error> {
    let romfs = neotron_romfs::RomFs::new(data)?;
    for entry in romfs {
        if let Ok(entry) = entry {
           println!("{} is {} bytes", entry.metadata.file_name, entry.metadata.file_size);
        }
    }
    Ok(())
}

Licence

Copyright (c) The Neotron Developers, 2024

Licensed under either MIT or Apache-2.0 at your option.