GZIP compression stream.
Implements Compressor. Definition at line 61 of file class_GzipCompressor.php. 00061 { 00062 if (is_object($streamData)) { 00063 // Throw an exception 00064 throw new InvalidObjectException($streamData, self::EXCEPTION_UNEXPECTED_OBJECT); 00065 } 00066 00067 // Return the compressed stream 00068 return gzcompress($streamData, 1); 00069 }
|
1.5.6