Trait divans::interface::Decompressor [−][src]
pub trait Decompressor { fn decode(
&mut self,
input: &[u8],
input_offset: &mut usize,
output: &mut [u8],
output_offset: &mut usize
) -> DivansResult; }
Required Methods
fn decode(
&mut self,
input: &[u8],
input_offset: &mut usize,
output: &mut [u8],
output_offset: &mut usize
) -> DivansResult
&mut self,
input: &[u8],
input_offset: &mut usize,
output: &mut [u8],
output_offset: &mut usize
) -> DivansResult
Implementors
impl<DefaultDecoder: ArithmeticEncoderOrDecoder + NewWithAllocator<AllocU8> + BillingCapability, AllocU8: Allocator<u8>, AllocCDF16: Allocator<DefaultCDF16>, AllocCommand: Allocator<StaticCommand>> Decompressor for DivansDecompressor<DefaultDecoder, AllocU8, AllocCDF16, AllocCommand> where
DefaultDecoder: Send + 'static,
AllocCommand: Send + 'static,
AllocCDF16: Send + 'static,
AllocU8: Send + 'static,
AllocCommand::AllocatedMemory: Send + 'static,
AllocCDF16::AllocatedMemory: Send + 'static,
AllocU8::AllocatedMemory: Send + 'static,