public static int toUInt16(final byte[] bytes, final ByteOrder byteOrder) {
        return toUInt16(bytes, 0, byteOrder);
    }
Interprets the content of a specified bytes array to create an instance of the RationalNumber class.

@param bytes        a valid array dimensioned to at least 8.
@param byteOrder    the byte order for integer conversion
@param unsignedType indicates whether the extracted value is an unsigned type.
@return a valid instance
src/main/java/org/apache/commons/imaging/common/ByteConversions.java