|
NAMEPOE::Filter::Zlib::StreamVERSIONversion 2.04SYNOPSISuse POE::Filter::Zlib::Stream; my $filter = POE::Filter::Zlib::Stream->new( deflateopts => { -Level => 9 } ); my $scalar = 'Blah Blah Blah'; my $compressed_array = $filter->put( [ $scalar ] ); my $uncompressed_array = $filter->get( $compressed_array ); use POE qw(Filter::Stackable Filter::Line Filter::Zlib::Stream); my ($filter) = POE::Filter::Stackable->new(); $filter->push( POE::Filter::Zlib::Stream->new(), POE::Filter::Line->new( InputRegexp => '\015?\012', OutputLiteral => "\015\012" ), DESCRIPTIONPOE::Filter::Zlib::Stream provides a POE filter for performing compression/uncompression using Compress::Zlib. It is suitable for use with POE::Filter::Stackable.Unlike POE::Filter::Zlib this filter uses deflate and inflate, not the higher level compress and uncompress. Ideal for streaming compressed data over sockets. NAMEPOE::Filter::Zlib::Stream - A POE filter wrapped around Compress::Zlib deflate and inflate.CONSTRUCTOR
Consult Compress::Zlib for more detail regarding these options. METHODS
AUTHORChris Williams <chris@bingosnet.co.uk>Martijn van Beers <martijn@cpan.org> LICENSECopyright © Chris Williams and Martijn van Beers.This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSOPOE::FilterCompress::Zlib POE::Filter::Stackable AUTHORS
COPYRIGHT AND LICENSEThis software is copyright (c) 2017 by Chris Williams and Martijn van Beers.This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Visit the GSP FreeBSD Man Page Interface. |