Update fix for issue 43
git-svn-id: http://php-reader.googlecode.com/svn/trunk@210 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
@@ -65,6 +65,26 @@ final class Zend_Media_Iso14496_Box_Chpl extends Zend_Media_Iso14496_FullBox
|
|||||||
$this->_data = $reader->read($this->getSize() - 12);
|
$this->_data = $reader->read($this->getSize() - 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the raw binary data.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getData()
|
||||||
|
{
|
||||||
|
return $this->_data;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the raw binary data.
|
||||||
|
*
|
||||||
|
* @param string $data The data.
|
||||||
|
*/
|
||||||
|
public function setData($data)
|
||||||
|
{
|
||||||
|
$this->_data = $data;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the box heap size in bytes.
|
* Returns the box heap size in bytes.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -65,6 +65,26 @@ final class Zend_Media_Iso14496_Box_Ndrm extends Zend_Media_Iso14496_FullBox
|
|||||||
$this->_data = $reader->read($this->getSize() - 12);
|
$this->_data = $reader->read($this->getSize() - 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the raw binary data.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getData()
|
||||||
|
{
|
||||||
|
return $this->_data;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the raw binary data.
|
||||||
|
*
|
||||||
|
* @param string $data The data.
|
||||||
|
*/
|
||||||
|
public function setData($data)
|
||||||
|
{
|
||||||
|
$this->_data = $data;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the box heap size in bytes.
|
* Returns the box heap size in bytes.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user