Crate flate [] [src]

🔬 This is a nightly-only experimental API. (rustc_private)

Simple DEFLATE-based compression. This is a wrapper around the miniz library, which is a one-file pure-C implementation of zlib.

Structs

Bytes [
Experimental
]
Error [
Experimental
]

Functions

deflate_bytes [
Experimental
]

Compress a buffer without writing any sort of header on the output. Fast compression is used because it is almost twice as fast as default compression and the compression ratio is only marginally worse.

inflate_bytes [
Experimental
]

Decompress a buffer without parsing any sort of header on the input.