Documentation

CompressFastDriver

Abstract base driver class for fast 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(string $text) : string
Parameters
$text : string

The string to compress.

Tags
throws
CompressFastException
Return values
string

The compressed string.

decompress()

Decompresses a string.

public decompress(string $text) : string
Parameters
$text : string

The compressed string.

Tags
throws
CompressFastException
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