pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] Streams solution proposal


From: Juan Pedro Bolivar Puente
Subject: Re: [pdf-devel] Streams solution proposal
Date: Fri, 03 Oct 2008 00:20:33 +0200
User-agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724)

> 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

[Prev in Thread] Current Thread [Next in Thread]