MCPcopy Index your code
hub / github.com/python/cpython / read

Method read

Lib/tarfile.py:531–536  ·  view source on GitHub ↗

Return the next size number of bytes from the stream.

(self, size)

Source from the content-addressed store, hash-verified

529 return self.pos
530
531 def read(self, size):
532 """Return the next size number of bytes from the stream."""
533 assert size is not None
534 buf = self._read(size)
535 self.pos += len(buf)
536 return buf
537
538 def _read(self, size):
539 """Return size bytes from the stream.

Callers 14

_init_read_gzMethod · 0.95
seekMethod · 0.95
copyfileobjFunction · 0.45
readMethod · 0.45
_readMethod · 0.45
__readMethod · 0.45
__init__Method · 0.45
readMethod · 0.45
_fromtarfileMethod · 0.45
_proc_gnulongMethod · 0.45
_proc_sparseMethod · 0.45
_proc_paxMethod · 0.45

Calls 1

_readMethod · 0.95

Tested by

no test coverage detected