Lines Matching refs:length
181 function getData($length = -1) argument
191 if ($length == -1) {
199 if ($length == 0) {
202 return fread($this->handle, $length);
210 function skip($length = -1) argument
218 if (($length == -1 && @fseek($this->handle, 0, SEEK_END) === -1) ||
219 ($length >= 0 && @fseek($this->handle, $length, SEEK_CUR) === -1)) {
220 return parent::skip($length);
229 function rewind($length = -1) argument
236 if (($length == -1 && @fseek($this->handle, 0, SEEK_SET) === -1) ||
237 ($length >= 0 && @fseek($this->handle, -$length, SEEK_CUR) === -1)) {
238 return parent::rewind($length);