pssht
latest
SSH server library written in PHP
|
Public Member Functions | |
__construct ($mode) | |
getMode () | |
update ($data) | |
Static Public Member Functions | |
static | getName () |
Return the name of the algorithm. | |
Protected Attributes | |
$mode | |
Compression/decompression mode. | |
Additional Inherited Members | |
![]() | |
const | MODE_COMPRESS = 0 |
Use the algorithm for compression. | |
const | MODE_UNCOMPRESS = 1 |
Use the algorithm for decompression. | |
fpoirotte\Pssht\Compression\None::__construct | ( | $mode | ) |
Construct a (de)compression algorithm.
opaque | $mode | Mode in which the algorithm is being used. Either CompressionInterface::MODE_COMPRESS or CompressionInterface::MODE_UNCOMPRESS. |
Implements fpoirotte\Pssht\Compression\CompressionInterface.
Definition at line 22 of file None.php.
References fpoirotte\Pssht\Compression\None\$mode.
fpoirotte\Pssht\Compression\None::getMode | ( | ) |
Get the mode in which the algorithm is being used.
opaque | Either CompressionInterface::MODE_COMPRESS or CompressionInterface::MODE_UNCOMPRESS. |
Implements fpoirotte\Pssht\Compression\CompressionInterface.
Definition at line 27 of file None.php.
References fpoirotte\Pssht\Compression\None\$mode.
fpoirotte\Pssht\Compression\None::update | ( | $data | ) |
Add data to (de)compress.
string | $data | Additional data to compress or decompress, depending on the algorithm's mode. |
string | (Un)compressed data. |
Implements fpoirotte\Pssht\Compression\CompressionInterface.