Fabian Lange 22a0e7fe65 Optimization for FlateStream_getCode, making more pdfs parsable.
This commit cleans up the FlateStream_getCode method, and removes a few error
conditions.
Previously it would fail if the codeSize is less than maxLen if end of stream
is reached. However in the document linked below there is a sub-stream
(the one starting at pos 337) which has maxLen set to 11, but actually
contains only 10. After breaking the sanity check still applies, and in this
case passes validating codeSize(10)==codeLen(10).

 http://www.cafeculture.com/wp-content/uploads/2014/03/V-CM-BR-086-04002-1346-0258-GP-Brazil-Fazenda-Cafe-Cambara-Terra-Preta-Microlot-Sample-0460-13-Pulped-Natural-60Kg.pdf
2014-06-09 20:55:31 +02:00
..
2014-04-15 17:10:23 +02:00
2014-05-19 16:19:54 -05:00
2014-04-11 00:41:08 +02:00
2014-05-23 14:11:47 -05:00
2014-05-10 18:03:54 +02:00
2014-05-29 20:38:50 -05:00
2014-04-11 00:41:18 +02:00
2014-05-29 20:38:50 -05:00
2014-06-04 11:30:53 -05:00
2014-05-19 16:19:54 -05:00