On 8-Mar-08, at 2:00 PM, Cirilo Bernardo wrote:

I don't understand this scheme - a stream tells you how long its input
data segment is.

Irrespective of your other objections, I suggest that you should design for the occasional possibility that the Length entry in the stream dictionary is missing or wrong and the length of the stream has to be determined by looking for an EOD marker, hitting the end of the file, or even something that looks like a different kind of data. Such files are of course invalid, but they nevertheless exist.

 -r


Reply via email to