std::compress::flate¶
Status: experimental
Raw DEFLATE (RFC 1951) encoder / decoder.
API details and source¶
The implementation source contains the complete declarations and implementation notes. The table below lists canonical Gossamer call signatures; every item name links directly to its implementation file.
| Item | Canonical signature or declaration | Description |
|---|---|---|
compress |
fn compress(data: Vec<u8>, level: i64) -> Result<Vec<u8>, errors::Error> |
One-shot DEFLATE compress. |
decompress |
fn decompress(data: Vec<u8>) -> Result<Vec<u8>, errors::Error> |
One-shot DEFLATE decompress. |