MCPcopy Index your code
hub / github.com/RustPython/RustPython / load_binbytes8

Method load_binbytes8

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

Source from the content-addressed store, hash-verified

1489 dispatch[BINUNICODE8[0]] = load_binunicode8
1490
1491 def load_binbytes8(self):
1492 len, = unpack('<Q', self.read(8))
1493 if len > maxsize:
1494 raise UnpicklingError("BINBYTES8 exceeds system's maximum size "
1495 "of %d bytes" % maxsize)
1496 self.append(self.read(len))
1497 dispatch[BINBYTES8[0]] = load_binbytes8
1498
1499 def load_bytearray8(self):

Callers

nothing calls this directly

Calls 4

unpackFunction · 0.90
UnpicklingErrorClass · 0.85
readMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected