/** * @return float */ public function readSingle() { return $this->singleReader->read($this); }
/** * @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); }