code: def insert_short(self, index, value):
          
          format = '!H'
          self.data.insert(index, struct.pack(format, value))
          self.size += 2
docs: Inserts an unsigned short in a certain position in the packet