Exemplo n.º 1
0
 public function getLShort($signed = true)
 {
     return $signed ? Binary::readSignedLShort($this->get(2)) : Binary::readLShort($this->get(2));
 }
Exemplo n.º 2
0
 public function getShort()
 {
     return $this->endianness === self::BIG_ENDIAN ? Binary::readShort($this->get(2)) : Binary::readLShort($this->get(2));
 }