NAME
Protocol::SPDY::Compress - handle zlib compression/decompression
VERSION
version 0.999_002
SYNOPSIS
use Protocol::SPDY;
DESCRIPTION
METHODS
new
Instantiate - takes no parameters.
inflater
Returns an inflater object, for decompressing data.
deflater
Returns a deflater object, for compressing data.
decompress
Given a scalar containing bytes, this will return the decompressed contents as a scalar, or raise an exception on failure.
compress
Given a scalar containing bytes, this will return the compressed contents as a scalar, or raise an exception on failure.
AUTHOR
Tom Molesworth <cpan@entitymodel.com>
LICENSE
Copyright Tom Molesworth 2011-2013. Licensed under the same terms as Perl itself.