pub struct BroCatli { /* private fields */ }
Implementations§
source§impl BroCatli
impl BroCatli
pub fn new() -> BroCatli
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§
source§impl From<BroCatli> for BroccoliState
impl From<BroCatli> for BroccoliState
source§fn from(data: BroCatli) -> BroccoliState
fn from(data: BroCatli) -> BroccoliState
Converts to this type from the input type.
Auto Trait Implementations§
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