(self,ptr,fmt,*args)
Modify data at offset `ptr`
Modify data at offset `ptr`
Modify data at offset ptr
def update(self,ptr,fmt,*args):
        """
            Modify data at offset `ptr` 
        """
        s = struct.pack(fmt,*args)
        self.data[ptr:ptr+len(s)] = s
def update ( self , ptr , fmt , * args ) : s = struct . pack ( fmt , * args ) self . data [ ptr : ptr + len ( s ) ] = s