src/PelConvert.php
public static function bytesToRational($bytes, $offset, $endian)
    {
        return [
            self::bytesToLong($bytes, $offset, $endian),
            self::bytesToLong($bytes, $offset + 4, $endian)
        ];
    }
public static function bytesToRational($bytes, $offset, $endian)
    {
        return [
            self::bytesToLong($bytes, $offset, $endian),
            self::bytesToLong($bytes, $offset + 4, $endian)
        ];
    }
public static function bytesToRational ( $ bytes , $ offset , $ endian ) { return [ self :: bytesToLong ( $ bytes , $ offset , $ endian ) , self :: bytesToLong ( $ bytes , $ offset + 4 , $ endian ) ] ; }
Extract an unsigned rational from bytes.

@param string $bytes

@param integer $offset
The rational found at offset will be
returned as an array. There must be at least eight bytes
available beginning at the offset given.
@param boolean $endian
one of {@link LITTLE_ENDIAN} and {@link
BIG_ENDIAN}. *
@return array the unsigned rational found at offset, e.g., an
array with two integers in the range 0 to 4294967295.
Extract an unsigned rational from bytes .