module HexaPDF::Filter::FlateDecode

Implements the Deflate filter using the Zlib library.

See: HexaPDF::Filter, PDF2.0 s7.4.4

Public Class Methods

decoder(source, options = nil)

See HexaPDF::Filter

The decoder also handles the case of an empty string not deflated to a correct flate stream but just output as an empty string.

encoder(source, options = nil)