[][src]Struct zipper::format::LocalFileHeader

pub struct LocalFileHeader {
    pub signature: u32,
    pub extract_version: u16,
    pub gp_flag: u16,
    pub compression_method: u16,
    pub modified_time: u16,
    pub modified_date: u16,
    pub crc32: u32,
    pub compressed_size: u32,
    pub uncompressed_size: u32,
    pub file_name_len: u16,
    pub extra_field_len: u16,
    pub file_name: Vec<u8>,
    pub extra_field: Vec<u8>,
}

Fields

signature: u32extract_version: u16gp_flag: u16compression_method: u16modified_time: u16modified_date: u16crc32: u32compressed_size: u32uncompressed_size: u32file_name_len: u16extra_field_len: u16file_name: Vec<u8>extra_field: Vec<u8>

Methods

impl LocalFileHeader[src]

pub fn to_le_bytes(&self) -> Vec<u8>[src]

Trait Implementations

impl Default for LocalFileHeader[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]