def _bytes_to_uint_48(self, bytes_):
        """Converts an array of 6 bytes to a 48bit integer.

        :param data: bytearray to be converted to a 48bit integer
        :type data: bytearray

        :return: the integer
        :rtype: int
        """
        return ((bytes_[0] * pow(2, 40)) + (bytes_[1] * pow(2, 32)) +
                (bytes_[2] * pow(2, 24)) + (bytes_[3] << 16) +
                (bytes_[4] << 8) + bytes_[4])
Converts an array of 6 bytes to a 48bit integer.

        :param data: bytearray to be converted to a 48bit integer
        :type data: bytearray

        :return: the integer
        :rtype: int