EnsureBufferHasEnoughData example

return $int_value;
    }

    /** * @param int $length * @param bool $check_buffer * * @return string|false */
    private function readEBMLelementData($length$check_buffer=false) {
        if ($check_buffer && !$this->EnsureBufferHasEnoughData($length)) {
            return false;
        }
        $data = substr($this->EBMLbuffer, $this->current_offset - $this->EBMLbuffer_offset, $length);
        $this->current_offset += $length;
        return $data;
    }

    /** * @param array $element * @param int $parent_end * @param array|bool $get_data * * @return bool */
Home | Imprint | This part of the site doesn't use cookies.