def readStr(self): buf = StringBuffer() while True: c = self.m_dis.readByte() if (c == 0): break buf.append(c) strval = str(buf) return None if strval == 0 else strval
def readStr(self): """ generated source for method readStr """ buf = StringBuffer() while True: c = self.m_dis.readByte() if c == 0: break buf.append(c) strval = str(buf) return None if 0 == len(strval) else strval