__construct()
__construct()
Constructor does nothing
Implementation of a trivial Compressor.
NonCompressor's compress and uncompress filter return the string unchanged
compressInt(integer $my_int) : string
Used to compress an int as a fixed length string in the format of the compression algorithm underlying the compressor. Since this compressor doesn't compress we just use pack
integer | $my_int | the integer to compress as a fixed length string |
the fixed length string containing the packed int
uncompressInt(string $my_compressed_int) : integer
Used to uncompress an int from a fixed length string in the format of the compression algorithm underlying the compressor. Since this compressor doesn't compress we just use unpack
string | $my_compressed_int | the fixed length string containing the packed int to extract |
the integer contained in that string