Exemple #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
Exemple #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
Exemple #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
Exemple #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