[−][src]Struct fable_format::WadEntry
A Wad entry with a file's metadata and the location of its contents.
Format Description
The entries start at the header's first entry offset and are repeated until the entry count.
Field | Type | Byte Size | Description |
---|---|---|---|
Unknown | [16; u8] | 16 | (Maybe hash-related.) |
File Id | u32 | 4 | Index number. (This is implicit tho lol?) |
Unknown | u32 | 4 | |
File size | u32 | 4 | File size in the blob. |
File offset | u32 | 4 | File offset in the blob. |
Unknown | u32 | 4 | |
Path size | u32 | 4 | Size of the path string that follows. |
Path string | String | Path size | File path |
Unknown | [16; u8] | 16 | (Maybe some kind of metadata like perms.) |
Created | [7; u32] | 28 | Creation timestamp. |
Accessed | [7; u32] | 28 | Access timestamp. |
Written | [5; u32] | 20 | Write timestamp. |
Timestamps
This is a description for the "created at" and "accessed at" fields. The "written at" field is similar but only percise to minutes.
Field | Type | Byte Size |
---|---|---|
Year | u32 | 4 |
Month | u32 | 4 |
Day | u32 | 4 |
Hour | u32 | 4 |
Minute | u32 | 4 |
Second | u32 | 4 |
Millisecond | u32 | 4 |
Fields
id: u32
offset: u32
length: u32
path: String
created: NaiveDateTime
accessed: NaiveDateTime
written: NaiveDateTime
Trait Implementations
impl Debug for WadEntry
[src]
impl Entry for WadEntry
[src]
fn len(&self) -> u64
[src]
fn pos(&self) -> u64
[src]
fn reader<'a, Source: Read + Seek>(
&mut self,
source: &'a mut Source
) -> Result<Take<&'a mut Source>, Error>
[src]
&mut self,
source: &'a mut Source
) -> Result<Take<&'a mut Source>, Error>
impl PartialEq<WadEntry> for WadEntry
[src]
impl StructuralPartialEq for WadEntry
[src]
Auto Trait Implementations
impl RefUnwindSafe for WadEntry
impl Send for WadEntry
impl Sync for WadEntry
impl Unpin for WadEntry
impl UnwindSafe for WadEntry
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,