def _int_to_bytes(value: int) ->bytes:
    """
    Convert an unsigned integer to a 32 bit byte representation.

    The result is in big-endian format.

    :param value: The (unsigned) integer value to convert.
    :return: Byte representation.
    """
    return value.to_bytes(4, byteorder='big', signed=False)
