Zend_Amf_Util_BinaryStream::readBytes
Read the number of bytes in a row for the length supplied.
Signature
public function readBytes(int
$length )
Parameters
$length
— int
Returns
- string
Errors/Exceptions
-
Zend_Amf_Exception
- for buffer underrun
Line | Task |
---|---|
94+ | Should check that there are enough bytes left in the stream we are about to read. |