def add_int(self, n):
        """
        Add an integer to the stream.
        
        @param n: integer to add
        @type n: int
        """
        self.packet.write(struct.pack('>I', n))
        return self
def add_int ( self , n ) : self . packet . write ( struct . pack ( '>I' , n ) ) return self
Add an integer to the stream.
        
        @param n: integer to add
        @type n: int