```{index} single: Compress::Raw::Bunzip2 ``` # Compress::Raw::Bunzip2 ```{pperl-module-badges} Compress::Raw::Bunzip2 ``` ## Functions ### Other Functions #### `new` `Compress::Raw::Bunzip2->new([$appendOut, $consume, $small, $verbosity, $limitOutput])`: a decompressor. In list context also the status, `BZ_OK` on success. #### `DispStream` `$bunz->DispStream([$message])`: prints the stream's state to stdout, for debugging. #### `bzinflate` `$bunz->bzinflate($input, $output)`: decompresses `$input` into `$output`, consuming the input it used when the object was made with `consume`. Returns `BZ_OK` while more input is needed, `BZ_STREAM_END` at the end of the stream. #### `inflateCount` `$bunz->inflateCount()`: bytes the last `bzinflate` produced. #### `status` `$bunz->status()`: the status the last call returned. #### `total_in_lo32` `$bunz->total_in_lo32()`: compressed bytes taken in so far (low 32 bits). #### `total_out_lo32` `$bunz->total_out_lo32()`: bytes put out so far (low 32 bits). #### `compressedBytes` `$bunz->compressedBytes()`: compressed bytes consumed so far. #### `uncompressedBytes` `$bunz->uncompressedBytes()`: uncompressed bytes produced so far.