Files
unixtract/src/formats/funai_bdp/include.rs
T

15 lines
295 B
Rust

use binrw::BinRead;
use crate::utils::common;
#[derive(BinRead)]
pub struct IndexTableEntry {
name_bytes: [u8; 32],
pub offset: u32,
pub size: u32,
_unk: u32,
}
impl IndexTableEntry {
pub fn name(&self) -> String {
common::string_from_bytes(&self.name_bytes)
}
}