def space_binary_string_by_markers(self, bin_string, first_bit_index):
        retval = ''
        x = 0
        while x < len(bin_string):
            for m in self._markers:
                if m['at'] == (first_bit_index + x):
                    retval = retval + '{' + m['type'] + '}'
            retval = retval + bin_string[x]
            x += 1
        for m in self._markers:
            if m['at'] == (first_bit_index + x):
                retval = retval + '{' + m['type'] + '}'
        return retval
dataset/ETHPy150Open karlgluck/heroes-of-the-storm-replay-parser/s2protocol/decoders.py/BitPackedDecoderDebug.space_binary_string_by_markers/original