/**
  * @throws InvalidValueException
  */
 private function byteOrder()
 {
     $this->reader->byteOrder();
 }
 public function testReadingXDRHexDouble()
 {
     $value = '0040411D70A3D70A3D';
     $reader = new BinaryReader($value);
     $reader->byteOrder();
     $result = $reader->double();
     $this->assertEquals(34.23, $result);
 }