Closed qmfrederik closed 8 years ago
When parsing a stream, it can happen that the stream is 0-length (or, more likely, that you're at the end of the stream by accident).
This would cause an index out of range exception in the PropertyListParser. This PR fixes that and also optimizes how ReadAll is implemented.
PropertyListParser
Hope it helps!
When parsing a stream, it can happen that the stream is 0-length (or, more likely, that you're at the end of the stream by accident).
This would cause an index out of range exception in the
PropertyListParser
. This PR fixes that and also optimizes how ReadAll is implemented.Hope it helps!