def _rawAvailable(self):
"some underlying streams may not support 'available'"
curPos = self._stream.tell()
self._stream.seek(0, SEEK_END)
endPos = self._stream.tell()
self._stream.seek(curPos)
return endPos - curPos
评论列表
文章目录