Documentation

Horde_Compress_Fast_Lz4 extends Horde_Compress_Fast_Base
in package

The lz4 driver uses the horde_lz4 extension for compression.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2013-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

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.

Search results