pub struct Xz2Decoder { /* private fields */ }
Available on crate feature
lzma
only.Expand description
Xz2 decoding stream
Implementations§
Source§impl Xz2Decoder
impl Xz2Decoder
Trait Implementations§
Source§impl Debug for Xz2Decoder
impl Debug for Xz2Decoder
Source§impl Decode for Xz2Decoder
impl Decode for Xz2Decoder
Source§fn reinit(&mut self) -> Result<()>
fn reinit(&mut self) -> Result<()>
Reinitializes this decoder ready to decode a new member/frame of data.
Source§fn decode(
&mut self,
input: &mut PartialBuffer<impl AsRef<[u8]>>,
output: &mut PartialBuffer<impl AsRef<[u8]> + AsMut<[u8]>>,
) -> Result<bool>
fn decode( &mut self, input: &mut PartialBuffer<impl AsRef<[u8]>>, output: &mut PartialBuffer<impl AsRef<[u8]> + AsMut<[u8]>>, ) -> Result<bool>
Returns whether the end of the stream has been read
Source§impl From<Xz2Decoder> for LzmaDecoder
impl From<Xz2Decoder> for LzmaDecoder
Source§fn from(inner: Xz2Decoder) -> Self
fn from(inner: Xz2Decoder) -> Self
Converts to this type from the input type.
Source§impl TryFrom<LzmaDecoderParams> for Xz2Decoder
impl TryFrom<LzmaDecoderParams> for Xz2Decoder
Auto Trait Implementations§
impl Freeze for Xz2Decoder
impl RefUnwindSafe for Xz2Decoder
impl Send for Xz2Decoder
impl Sync for Xz2Decoder
impl Unpin for Xz2Decoder
impl UnwindSafe for Xz2Decoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more