pub struct PreflateStreamChunkResult {
pub corrections: Vec<u8>,
pub compressed_size: usize,
pub parameters: Option<TokenPredictorParameters>,
pub blocks: Vec<DeflateTokenBlock>,
}Expand description
Result of a call to PreflateStreamProcessor::decompress
Fields§
§corrections: Vec<u8>the extra data that is needed to reconstruct the deflate stream exactly as it was written
compressed_size: usizethe number of bytes that were processed from the compressed stream (this will be exactly the data that will be recreated using the cabac_encoded data)
parameters: Option<TokenPredictorParameters>the parameters that were used to compress the stream. Only returned for the first chunk that is passed in.
blocks: Vec<DeflateTokenBlock>Auto Trait Implementations§
impl Freeze for PreflateStreamChunkResult
impl RefUnwindSafe for PreflateStreamChunkResult
impl Send for PreflateStreamChunkResult
impl Sync for PreflateStreamChunkResult
impl Unpin for PreflateStreamChunkResult
impl UnwindSafe for PreflateStreamChunkResult
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