/**
  * @return float
  */
 public function readSingle()
 {
     return $this->singleReader->read($this);
 }
Esempio n. 2
0
 /**
  * @param \PhpBinaryReader\BinaryReader $brBig
  * @param \PhpBinaryReader\BinaryReader $brLittle
  *
  * @expectedException \OutOfBoundsException
  * @dataProvider binaryReaders
  */
 public function testOutOfBoundsExceptionIsThrownWithLittleEndian(BinaryReader $brBig, BinaryReader $brLittle)
 {
     $brLittle->readBits(360);
     $this->single->read($brLittle);
 }