Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 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
Exemplo n.º 3
0
    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
Exemplo n.º 4
0
    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