mirror of
https://github.com/regular/unbzip2-stream.git
synced 2024-11-25 14:16:17 +00:00
5273bebcc6
streamCRC being null indicates that the last BZ2 stream ended or none has started yet. Once in a BZ2 stream, the value needs to be initialized to 0 even when it contains no blocks to pass the final CRC check. A completely empty input stream leaves streamCRC at null and likewise produces an empty output.
14 B
14 B