Struct lzma_rs::decompress::raw::LzmaParams
source · pub struct LzmaParams { /* private fields */ }
Available on
raw_decoder
only.Expand description
LZMA decompression parameters.
Implementations§
source§impl LzmaParams
impl LzmaParams
sourcepub fn new(
properties: LzmaProperties,
dict_size: u32,
unpacked_size: Option<u64>
) -> LzmaParams
pub fn new(
properties: LzmaProperties,
dict_size: u32,
unpacked_size: Option<u64>
) -> LzmaParams
Create an new instance of LZMA parameters.
sourcepub fn read_header<R>(input: &mut R, options: &Options) -> Result<LzmaParams>where
R: BufRead,
pub fn read_header<R>(input: &mut R, options: &Options) -> Result<LzmaParams>where
R: BufRead,
Read LZMA parameters from the LZMA stream header.
Trait Implementations§
source§impl Clone for LzmaParams
impl Clone for LzmaParams
source§fn clone(&self) -> LzmaParams
fn clone(&self) -> LzmaParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more