pub fn flate_encode(data: &[u8]) -> PdfResult<Vec<u8>>Expand description
Compress data with FlateDecode (zlib / deflate) at the default
compression level. Used by the writer when re-emitting rewritten content
streams so the saved PDF does not bloat with plaintext content bytes.