> With a circular buffer, a filter can just "take as much data as it can"
> and write "as much data as it can". Appart from the change of the kind
> of buffers, this has some small consequences on the filters
> implementation: they must not return PDF_EEOF when the input buffer is
> empty withouth having filled the output buffer, it can simply mean that
> the filter chain reduces the amount of data.

Forgot to say: the filters can (and should) return PDF_EEOF iif it has
found the closing marker.

Good night,
JP


Reply via email to