pub struct DCtx(/* private fields */);Implementations§
Source§impl DCtx
impl DCtx
pub fn new() -> Self
Sourcepub fn decompress_typed_buffer(
&mut self,
compressed: &[u8],
output: &mut TypedBuffer,
) -> Result<usize, Error>
pub fn decompress_typed_buffer( &mut self, compressed: &[u8], output: &mut TypedBuffer, ) -> Result<usize, Error>
Decompress into a TypedBuffer (auto-sized, single output)
Sourcepub fn decompress_multi_typed_buffer(
&mut self,
compressed: &[u8],
outputs: &mut [&mut TypedBuffer],
) -> Result<usize, Error>
pub fn decompress_multi_typed_buffer( &mut self, compressed: &[u8], outputs: &mut [&mut TypedBuffer], ) -> Result<usize, Error>
Decompress into multiple TypedBuffers (multi-output frame)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DCtx
impl RefUnwindSafe for DCtx
impl !Send for DCtx
impl !Sync for DCtx
impl Unpin for DCtx
impl UnwindSafe for DCtx
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