Struct gzp::deflate::Mgzip [−][src]
pub struct Mgzip {}
Expand description
Produce an Mgzip encoder
Trait Implementations
type B = LibDeflateCrc
type B = LibDeflateCrc
The Check type for this format for an individual block.
This exists so that the FormatSpec::C
can be check::PassThroughCheck
and not try to generate
an overall check value. Read more
type Decompressor = Decompressor
type Decompressor = Decompressor
The type that will decompress bytes for this format
Create a Decompressor for this format
How to a block inflate bytes for this format. Returns inflated bytes.
Check that the header is expected for this format
Check that the header is expected for this format
Get the check value and check sum from the footer
type C = PassThroughCheck
type C = PassThroughCheck
The Check type for this format.
type Compressor = Compressor
fn create_compressor(
&self,
compression_level: Compression
) -> Result<Self::Compressor, GzpError>
fn create_compressor(
&self,
compression_level: Compression
) -> Result<Self::Compressor, GzpError>
Create a thread local compressor
Whether or not this format should try to use a dictionary.
How to deflate bytes for this format. Returns deflated bytes.
Generate a generic header for the given format.
Generate a genric footer for the format.
The default buffersize to use for this format
Create a check value for this format that implements Check
type OutputWriter = MgzipSyncWriter<W>
Auto Trait Implementations
impl RefUnwindSafe for Mgzip
impl UnwindSafe for Mgzip
Blanket Implementations
Mutably borrows from an owned value. Read more