|
Cheetah
|
Public Member Functions | |
| setPosition ($position) | |
| getPosition () | |
| getLastPosition () | |
| writeBytes ($bytes, $offset=false, $inject=false) | |
| readBytes ($offset, $length) | |
| readAllBytes () | |
| readUnsignedInt ($offset) | |
| readUTFBytes ($offset, $length=4) | |
| readDouble ($offset, $length=8) | |
| bytesAvailable () | |
Definition at line 65 of file Bytearray.class.php.
| Bytearray::bytesAvailable | ( | ) |
Definition at line 292 of file Bytearray.class.php.
| Bytearray::getLastPosition | ( | ) |
returns the last position of pointer
returns the last position - the position of pointer before last write operation
| void |
Definition at line 166 of file Bytearray.class.php.
| Bytearray::getPosition | ( | ) |
returns the current position of pointer
returns the current position of Bytearray pointer
| void |
Definition at line 146 of file Bytearray.class.php.
| Bytearray::readAllBytes | ( | ) |
read all bytes from Bytearray
read all bytes from Bytearray
| void |
Definition at line 262 of file Bytearray.class.php.
| Bytearray::readBytes | ( | $offset, | |
| $length | |||
| ) |
read bytes from Bytearray
read bytes from Bytearray with given offset and length
| void |
Definition at line 243 of file Bytearray.class.php.
| Bytearray::readDouble | ( | $offset, | |
$length = 8 |
|||
| ) |
Definition at line 284 of file Bytearray.class.php.
| Bytearray::readUnsignedInt | ( | $offset | ) |
Definition at line 268 of file Bytearray.class.php.
| Bytearray::readUTFBytes | ( | $offset, | |
$length = 4 |
|||
| ) |
Definition at line 277 of file Bytearray.class.php.
| Bytearray::setPosition | ( | $position | ) |
sets the current position of pointer
sets the position of Bytearray pointer after writing bytes to Bytearray
| integer | $position | current position of the pointer |
Definition at line 126 of file Bytearray.class.php.
writes bytes to the Bytearray
writes bytes to the Bytearray
| void |
Definition at line 185 of file Bytearray.class.php.