Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Compress::Bzip2 2.09

    Download button

    No screenshots available
    Downloads: 375  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Rob Janes | More programs
    Perl Artistic License / FREE
    April 2nd, 2009, 18:29 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Compress::Bzip2 description

    Interface to Bzip2 compression library

    Compress::Bzip2 is a Perl interface to Bzip2 compression library.

    SYNOPSIS

     use Compress::Bzip2 qw(:all :constant :utilities :gzip);

     ($bz, $status) = bzdeflateInit( [PARAMS] ) ;
     ($out, $status) = $bz->bzdeflate($buffer) ;

     ($bz, $status) = bzinflateInit( [PARAMS] ) ;
     ($out, $status) = $bz->bzinflate($buffer) ;

     ($out, $status) = $bz->bzflush() ;
     ($out, $status) = $bz->bzclose() ;

     $dest = memBzip($source);
     alias compress
     $dest = memBunzip($source);
     alias decompress

     $bz = Compress::Bzip2->new( [PARAMS] );

     $bz = bzopen($filename or filehandle, $mode);
     alternate, with $bz created by new():
     $bz->bzopen($filename or filehandle, $mode);

     $bytesread = $bz->bzread($buffer [,$size]) ;
     $bytesread = $bz->bzreadline($line);
     $byteswritten = $bz->bzwrite($buffer [,$limit]);
     $errstring = $bz->bzerror();
     $status = $bz->bzeof();
     $status = $bz->bzflush();
     $status = $bz->bzclose() ;

     $status = $bz->bzsetparams( $param => $setting );

     $bz->total_in() ;
     $bz->total_out() ;

     $verstring = $bz->bzversion();

     $Compress::Bzip2::bzerrno


    The Compress::Bzip2 module provides a Perl interface to the Bzip2 compression library (see "AUTHOR" for details about where to get Bzip2). A relevant subset of the functionality provided by Bzip2 is available in Compress::Bzip2.

    All string parameters can either be a scalar or a scalar reference.

    The module can be split into two general areas of functionality, namely in-memory compression/decompression and read/write access to bzip2 files. Each of these areas will be discussed separately below.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Bzip2 interface | compression library | Perl module | Perl | Bzip2 | compression

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM