Compression adapter for php snappy (http://code.google.com/p/php-snappy/)
__construct(null | array | \Traversable $options)
nullarray\Traversable
(Optional) Options to set
\Zend\Filter\Exception\ExtensionNotLoadedException |
if snappy extension not loaded |
---|
compress(string $content) : string
string
\Zend\Filter\Exception\RuntimeException |
on memory, output length or data warning |
---|
string
decompress(string $content) : string
string
\Zend\Filter\Exception\RuntimeException |
on memory, output length or data warning |
---|
string
toString() : string
string