mirror of
https://github.com/Ap0dexMe0/unixtract.git
synced 2026-07-16 05:04:22 +02:00
15 lines
295 B
Rust
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)
|
|
}
|
|
} |