An input stream that decompresses from the BZip2 format (without the file
header chars) to be read as any other stream.
The decompression requires large amounts of memory. Thus you
should call the
CBZip2InputStream.close() close() method as soon as
possible, to force CBZip2InputStream to release the
allocated memory. See
CBZip2OutputStreamCBZip2OutputStream for information about memory usage.
CBZip2InputStream reads bytes from the compressed
source stream via the single byte
java.io.InputStream.readread() method exclusively. Thus you should consider to use a
buffered source stream.
Instances of this class are not threadsafe.
|