pub struct DecompressResult {
pub plain_text: Vec<u8>,
pub prediction_corrections: Vec<u8>,
pub compressed_size: usize,
}
Expand description
result of decompress_deflate_stream
Fields§
§plain_text: Vec<u8>
the plaintext that was decompressed from the stream
prediction_corrections: Vec<u8>
the extra data that is needed to reconstruct the deflate stream exactly as it was written
compressed_size: usize
the 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)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecompressResult
impl RefUnwindSafe for DecompressResult
impl Send for DecompressResult
impl Sync for DecompressResult
impl Unpin for DecompressResult
impl UnwindSafe for DecompressResult
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