<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_int(self, value):
 """Writes an unsigned integer to the packet"""

        format = '!I'
        self.data.append(struct.pack(format, int(value)))
        self.size += 4