code: def readString(self):
          
          s = self.f.read(1)
          string = b""
          while ord(s) > 0:
              string += s
              s = self.f.read(1)
          return string.decode()
docs: Read a string