pub struct LzOutputBuffer<'a> { /* private fields */ }
Implementations§
Source§impl<'a> LzOutputBuffer<'a>
impl<'a> LzOutputBuffer<'a>
pub fn new(buffer: &'a mut [u8]) -> Self
pub fn is_eof(&self) -> bool
pub fn push_literal(&mut self, literal: u8) -> LzOutputBufferResult
pub fn extend_from_slice(&mut self, data: &[u8]) -> LzOutputBufferResult
pub fn copy_lz( &mut self, distance: usize, copy_len: usize, ) -> LzOutputBufferResult
Auto Trait Implementations§
impl<'a> Freeze for LzOutputBuffer<'a>
impl<'a> RefUnwindSafe for LzOutputBuffer<'a>
impl<'a> Send for LzOutputBuffer<'a>
impl<'a> Sync for LzOutputBuffer<'a>
impl<'a> Unpin for LzOutputBuffer<'a>
impl<'a> !UnwindSafe for LzOutputBuffer<'a>
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