Lines Matching refs:bytes
2033 * @param int $bytes
2039 protected function fread($bytes) { argument
2041 $this->data_string_position += $bytes;
2042 return substr($this->data_string, $this->data_string_position - $bytes, $bytes);
2044 $pos = $this->ftell() + $bytes;
2046 …throw new getid3_exception('cannot fread('.$bytes.' from '.$this->ftell().') because beyond PHP fi…
2060 …if (($this->getid3->memory_limit > 0) && (($bytes / $this->getid3->memory_limit) > 0.99)) { // ena…
2061 …throw new getid3_exception('cannot fread('.$bytes.' from '.$this->ftell().') that is more than ava…
2063 $part = fread($this->getid3->fp, $bytes);
2065 $bytes -= $partLength;
2067 } while (($bytes > 0) && ($partLength > 0));
2072 * @param int $bytes
2079 protected function fseek($bytes, $whence=SEEK_SET) { argument
2083 $this->data_string_position = $bytes;
2087 $this->data_string_position += $bytes;
2091 $this->data_string_position = $this->data_string_length + $bytes;
2096 $pos = $bytes;
2098 $pos = $this->ftell() + $bytes;
2100 $pos = $this->getid3->info['filesize'] + $bytes;
2106 return fseek($this->getid3->fp, $bytes, $whence);