[][src]Struct lz_fear::decompress::LZ4FrameReader

pub struct LZ4FrameReader<R: Read> { /* fields omitted */ }

Read an LZ4-compressed frame.

This reader reads the blocks inside a frame one by one.

Methods

impl<R: Read> LZ4FrameReader<R>[src]

pub fn new(reader: R) -> Result<Self, DecompressionError>[src]

pub fn block_size(&self) -> usize[src]

pub fn frame_size(&self) -> Option<u64>[src]

pub fn dictionary_id(&self) -> Option<u32>[src]

pub fn into_read(self) -> LZ4FrameIoReader<R>[src]

pub fn decode_block(
    &mut self,
    output: &mut Vec<u8>
) -> Result<(), DecompressionError>
[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for LZ4FrameReader<R> where
    R: RefUnwindSafe

impl<R> Send for LZ4FrameReader<R> where
    R: Send

impl<R> Sync for LZ4FrameReader<R> where
    R: Sync

impl<R> Unpin for LZ4FrameReader<R> where
    R: Unpin

impl<R> UnwindSafe for LZ4FrameReader<R> where
    R: UnwindSafe

Blanket Implementations

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

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

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>,