Purge any buffered content. Calling this will implicitly end the
bzip2 stream, so it should not be called until you are finished
compressing data. Any calls to either write or commit after a
compression filter has been committed will throw an exception.
The only difference between calling this method and calling close is
that the underlying stream will not be closed.
Purge any buffered content. Calling this will implicitly end the bzip2 stream, so it should not be called until you are finished compressing data. Any calls to either write or commit after a compression filter has been committed will throw an exception.
The only difference between calling this method and calling close is that the underlying stream will not be closed.