MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / read_all

Method read_all

tools/python-3.11.9-amd64/Lib/telnetlib.py:334–342  ·  view source on GitHub ↗

Read all data until EOF; block until connection closed.

(self)

Source from the content-addressed store, hash-verified

332 return self.read_very_lazy()
333
334 def read_all(self):
335 """Read all data until EOF; block until connection closed."""
336 self.process_rawq()
337 while not self.eof:
338 self.fill_rawq()
339 self.process_rawq()
340 buf = self.cookedq
341 self.cookedq = b''
342 return buf
343
344 def read_some(self):
345 """Read at least one byte of cooked data unless EOF is hit.

Callers

nothing calls this directly

Calls 2

process_rawqMethod · 0.95
fill_rawqMethod · 0.95

Tested by

no test coverage detected