Horde_Compress_Fast_Lz4
extends Horde_Compress_Fast_Base
in package
The lz4 driver uses the horde_lz4 extension for compression.
Tags
Table of Contents
- compress() : string
- Compresses a string.
- decompress() : string
- Decompresses a string.
- supported() : bool
- Is this driver supported on this system?
Methods
compress()
Compresses a string.
public
compress(mixed $text) : string
Parameters
- $text : mixed
-
The string to compress.
Return values
string —The compressed string.
decompress()
Decompresses a string.
public
decompress(mixed $text) : string
Parameters
- $text : mixed
-
The compressed string.
Return values
string —The decompressed string.
supported()
Is this driver supported on this system?
public
static supported() : bool
Return values
bool —True if supported.