pub struct PakEntry {
pub offset: u64,
pub size: u64,
pub uncompressed_size: u64,
pub hash: [u8; 20],
pub compression_blocks: Vec<PakCompressedBlock>,
pub compression_block_size: u32,
pub compression_method_index: u32,
pub flags: u8,
}
Expand description
FPakEntry archivable
Fields
offset: u64
Offset into pak file where the file is stored.
size: u64
Serialized file size.
uncompressed_size: u64
Uncompressed file size.
hash: [u8; 20]
Compressed file SHA1 value.
compression_blocks: Vec<PakCompressedBlock>
Array of compression blocks that describe how to decompress this pak entry.
compression_block_size: u32
Size of a compressed block in the file.
compression_method_index: u32
Index into the compression methods in this pakfile.
flags: u8
Pak entry flags.
Implementations
sourceimpl PakEntry
impl PakEntry
pub fn is_encrypted(&self) -> bool
pub fn is_deleted(&self) -> bool
Trait Implementations
sourceimpl ArchivableWith<PakVersion> for PakEntry
impl ArchivableWith<PakVersion> for PakEntry
fn ser_de_with<A: Archive>(
&mut self,
ar: &mut A,
version: PakVersion
) -> Result<()>
fn ser_de_len_with(&mut self, extra: E) -> u64
fn ser_with<A: Archive>(&self, ar: &mut A, extra: E) -> Result<()>where
Self: Clone,
fn ser_len_with(&self, extra: E) -> u64where
Self: Clone,
fn de_with<A: Archive>(ar: &mut A, extra: E) -> Result<Self>where
Self: Default,
impl Eq for PakEntry
impl StructuralEq for PakEntry
impl StructuralPartialEq for PakEntry
Auto Trait Implementations
impl RefUnwindSafe for PakEntry
impl Send for PakEntry
impl Sync for PakEntry
impl Unpin for PakEntry
impl UnwindSafe for PakEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more