def __BitList_to_String(self, data):
result = []<EOL>pos = <NUM_LIT:0><EOL>c = <NUM_LIT:0><EOL>while pos < len(data):<EOL><INDENT>c += data[pos] << (<NUM_LIT:7> - (pos % <NUM_LIT:8>))<EOL>if (pos % <NUM_LIT:8>) == <NUM_LIT:7>:<EOL><INDENT>result.append(c)<EOL>c = <NUM_LIT:0><EOL><DEDENT>pos += <NUM_LIT:1><EOL><DEDENT>if _pythonMajorVersion < <NUM_LIT:3>:<EOL><INDENT>return '<STR_LIT>'.join([ chr(c) for c in result ])<EOL><DEDENT>else:<EOL><INDENT>return bytes(result)<EOL><DEDENT>
Turn the list of bits -> data, into a string