code: def splice(self, mark, newdata):
          
          self.jump_to(mark)
          self._data = self._data[:self._offset] + bytearray(newdata)
docs: Replace the data after the marked location with the specified data.