Syntax Syntax
Parameters Parameters
- $bytes
-
(Required)
- $whence
-
(Optional)
Default value: SEEK_SET
Return Return
(int)
Source Source
File: wp-includes/ID3/getid3.php
/**
* @param string $string
*/
public function setStringMode($string) {
$this->data_string_flag = true;
$this->data_string = $string;
$this->data_string_length = strlen($string);
}
/**
* @return int|bool
*/
protected function ftell() {
if ($this->data_string_flag) {
return $this->data_string_position;
}
return ftell($this->getid3->fp);
}
/**
* @param int $bytes
*
* @return string|false
*
* @throws getid3_exception
*/
protected function fread($bytes) {
if ($this->data_string_flag) {