Lines Matching defs:data
13 * Class for handling LZW encoded data
22 protected $data;
65 * Method to decode LZW compressed data.
67 * @param string $data The compressed data
68 * @return string The uncompressed data
71 public function decode($data)
73 if ($data[0] === "\x00" && $data[1] === "\x01") {
82 $this->data = $data;
83 $this->dataLength = \strlen($data);
176 $this->nextData = ($this->nextData << 8) | (\ord($this->data[$this->bytePointer++]) & 0xff);
180 $this->nextData = ($this->nextData << 8) | (\ord($this->data[$this->bytePointer++]) & 0xff);