readByte() public static method

Reads an unsigned/signed byte
public static readByte ( string $c, boolean $signed = true ) : integer
$c string
$signed boolean
return integer
Esempio n. 1
0
 public function getByte()
 {
     return Binary::readByte($this->get(1));
 }
 public function readByte($signed = true)
 {
     return Binary::readByte($this->read(), $signed);
 }
Esempio n. 3
0
 public function getByte($signed = false)
 {
     return Binary::readByte($this->get(1), $signed);
 }