This software provides an interface to the Bzip2 compression library, allowing users to compress and decompress data using this popular compression algorithm.
Compress::Bzip2 is a reliable, easy-to-use software package for developers seeking a Perl interface to the Bzip2 compression library. With relevant functionality provided by Bzip2 available in Compress::Bzip2, this module delivers impressive results when it comes to in-memory compression/decompression, as well as read/write access to bzip2 files.
The module offers a wide range of code examples and functions, including:
- bzdeflateInit
- bzdeflate
- bzinflateInit
- bzinflate
- bzflush
- bzclose
- memBzip (alias compress)
- memBunzip (alias decompress)
- Compress::Bzip2->new
- bzopen
- bzread
- bzreadline
- bzwrite
- bzerror
- bzeof
- bzflush
- bzclose
- bzsetparams
- total_in
- total_out
- bzversion
- Compress::Bzip2::bzerrno
All string parameters can either be a scalar or a scalar reference. The software package can be split into two general areas of functionality, in-memory compression/decompression and read/write access to bzip2 files.
In-memory compression and decompression are highly efficient and accurate with Compress::Bzip2. The software provides ease of use with its code examples and functions, making it simple to implement into new or existing project code.
For read/write access to bzip2 files, Compress::Bzip2 supports bzopen with alternate usage options, including the creation of a new $bz object with Compress::Bzip2->new. Developers can access read/write functions that include bzread, bzreadline, bzwrite, bzerror, bzeof, bzflush, bzclose, bzsetparams, total_in, total_out, bzversion, and Compress::Bzip2::bzerrno.
In conclusion, Compress::Bzip2 is an excellent software package for developers using Perl who require efficient compression and decompression of in-memory data or read/write access to bzip2 files. With its vast range of functions and ease of use, Compress::Bzip2 is a reliable and powerful tool to streamline projects with compression requirements.
Version 2.09: N/A