def int32_unpack(var, buff):
    """
    Unpack int32.

    :param var: variable name, ``str``
    :returns: struct unpacking code for an int32
    """
    return '(%s,) = _struct_I.unpack(%s)' % (var, buff)