Helpviewer/Network/NetworkReply.py

changeset 3591
2f2a4a76dd22
parent 3484
645c12de6b0c
child 3656
441956d8fce5
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
57 """ 57 """
58 return self.__data.length() + QNetworkReply.bytesAvailable(self) 58 return self.__data.length() + QNetworkReply.bytesAvailable(self)
59 59
60 def readData(self, maxlen): 60 def readData(self, maxlen):
61 """ 61 """
62 Protected method to retrieve data from the reply object. 62 Public method to retrieve data from the reply object.
63 63
64 @param maxlen maximum number of bytes to read (integer) 64 @param maxlen maximum number of bytes to read (integer)
65 @return string containing the data (bytes) 65 @return string containing the data (bytes)
66 """ 66 """
67 len_ = min(maxlen, self.__data.length()) 67 len_ = min(maxlen, self.__data.length())

eric ide

mercurial