def readString(self):
        """ Read a string """
        s = self.f.read(1)
        string = b""
        while ord(s) > 0:
            string += s
            s = self.f.read(1)
        return string.decode()
dataset/ETHPy150Open timknip/pyswf/swf/stream.py/SWFStream.readString/original