Struct preflate_rs::DecompressResult
source · pub struct DecompressResult {
pub plain_text: Vec<u8>,
pub cabac_encoded: Vec<u8>,
pub compressed_processed: usize,
}Expand description
result of decompress_deflate_stream
Fields§
§plain_text: Vec<u8>the plaintext that was decompressed from the stream
cabac_encoded: Vec<u8>the extra data that is needed to reconstruct the deflate stream exactly as it was written
compressed_processed: 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)
Auto Trait Implementations§
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