Lines Matching refs:length
72 function skip($length = -1) argument
74 if ($length == -1) {
75 $length = $this->leftLength;
77 $length = min($this->leftLength, $length);
79 $skipped = $this->source->skip($length);
89 function rewind($length = -1) argument
91 if ($length == -1) {
92 $length = $this->currentStat[7] - $this->leftLength;
94 $length = min($length, $this->currentStat[7] - $this->leftLength);
96 $rewinded = $this->source->rewind($length);
215 function getData($length = -1) argument
217 if ($length == -1) {
220 $actualLength = min($this->leftLength, $length);
305 foreach ($blocks as $length) {
307 $data .= $this->getData($length);
309 $this->skip($length);