def bytes_to_bits(num_bytes: int) -> int:
    """
    Converts number of bytes to bits.

    :param num_bytes: The n number of bytes to convert.
    :returns: Number of bits.
    """

    return num_bytes * 8