Constructs a new bzip2 compression filter. You need to pass in the stream that the compression filter will write to. If you are using this filter with a conduit, the idiom to use is:
This enumeration represents several pre-defined compression block sizes, measured in hundreds of kilobytes. See the documentation for the BzipOutput class' constructor for more details.
Close the compression stream. This will cause any buffered content to be committed to the underlying stream.
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.
Resets and re-initialises this instance.
Compresses the given data to the underlying conduit.
This read-only property returns the number of compressed bytes that have been written to the underlying stream. Following a call to either close or commit, this will contain the total compressed size of the input data stream.
Return the hosting conduit.
Write to conduit from a source array. The provided src content will be written to the conduit.
Transfer the content of another conduit to this one. Returns a reference to this class, or throws IOException on failure.
Emit/purge buffered content.
Seek on this stream. Target conduits that don't support seeking will throw an IOException.
Return the upstream host of this filter.
Close the output.
This output filter can be used to perform compression of data into a bzip2 stream.