def replace(self, child, replacement):
        for i in range(len(self.chunks)):
            if self.chunks[i] == child:
                self.chunks[i] = replacement
Replace a child chunk with something else.
dataset/ETHPy150Open grampajoe/pymosh/pymosh/riff.py/RiffIndexList.replace