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

Method load_binbytes

Lib/pickle.py:1489–1494  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1487 dispatch[BINSTRING[0]] = load_binstring
1488
1489 def load_binbytes(self):
1490 len, = unpack('<I', self.read(4))
1491 if len > maxsize:
1492 raise UnpicklingError("BINBYTES exceeds system's maximum size "
1493 "of %d bytes" % maxsize)
1494 self.append(self.read(len))
1495 dispatch[BINBYTES[0]] = load_binbytes
1496
1497 def load_unicode(self):

Callers

nothing calls this directly

Calls 3

UnpicklingErrorClass · 0.85
readMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected