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