Lines Matching refs:length
126 function getData($length = -1) argument
129 $data = $this->source->getData($length);
137 if ($length == 0) {
141 if ($length > 0 && $this->pos+1 < count($this->files)) {
146 if ($length > $maxSize) {
147 $length = $maxSize;
149 return fread($this->tmpFile, $length);
163 function skip($length = -1) argument
166 return strlen($this->getData($length));
168 if ($length >= 0 && $this->pos+1 < count($this->files)) {
173 if ($length > $maxSize) {
174 $length = $maxSize;
176 fseek($this->tmpFile, $length, SEEK_CUR);
177 return $length;
189 function rewind($length = -1) argument