fvoid 0.2.4

Void file generator, supports many formats.
Documentation
/// Void binary file.
pub struct VoidBIN {
    /// Each byte will be filled to this.
    pub content: u8,
    /// Unit: bytes.
    pub size: usize,
}

#[allow(clippy::derivable_impls)]
impl Default for VoidBIN {
    fn default() -> Self {
        Self {
            content: 0,
            size: 0,
        }
    }
}

impl VoidBIN {
    pub fn data(&self) -> Vec<u8> {
        vec![self.content; self.size]
    }
}