pub struct BroCatli { /* private fields */ }
Implementations§
source§impl BroCatli
impl BroCatli
pub fn new() -> Self
pub fn deserialize_from_buffer(buffer: &[u8]) -> Result<BroCatli, ()>
pub fn serialize_to_buffer(&self, buffer: &mut [u8]) -> Result<(), ()>
pub fn new_with_window_size(log_window_size: u8) -> BroCatli
pub fn new_brotli_file(&mut self)
pub fn stream( &mut self, in_bytes: &[u8], in_offset: &mut usize, out_bytes: &mut [u8], out_offset: &mut usize, ) -> BroCatliResult
pub fn finish( &mut self, out_bytes: &mut [u8], out_offset: &mut usize, ) -> BroCatliResult
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BroCatli
impl RefUnwindSafe for BroCatli
impl Send for BroCatli
impl Sync for BroCatli
impl Unpin for BroCatli
impl UnwindSafe for BroCatli
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