'generated source for method readStr'

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 (0 == len(strval)) else strval)
