Struct zstd::stream::raw::Decoder [−][src]
An in-memory decoder for streams of data.
Implementations
impl Decoder
[src][−]
pub fn new() -> Result<Self>
[src][−]
Creates a new decoder.
pub fn with_dictionary(dictionary: &[u8]) -> Result<Self>
[src][−]
Creates a new decoder initialized with the given dictionary.
pub fn with_prepared_dictionary(
dictionary: &DecoderDictionary<'_>
) -> Result<Self>
[src][−]
dictionary: &DecoderDictionary<'_>
) -> Result<Self>
Creates a new decoder, using an existing DecoderDictionary
.
pub fn set_parameter(&mut self, parameter: DParameter) -> Result<()>
[src][−]
Sets a decompression parameter for this decoder.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Decoder
impl Send for Decoder
impl !Sync for Decoder
impl Unpin for Decoder
impl UnwindSafe for Decoder
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,
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>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,