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

Method load_binbytes

tools/python-3.11.9-amd64/Lib/pickle.py:1350–1355  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1348 dispatch[BINSTRING[0]] = load_binstring
1349
1350 def load_binbytes(self):
1351 len, = unpack('<I', self.read(4))
1352 if len > maxsize:
1353 raise UnpicklingError("BINBYTES exceeds system's maximum size "
1354 "of %d bytes" % maxsize)
1355 self.append(self.read(len))
1356 dispatch[BINBYTES[0]] = load_binbytes
1357
1358 def load_unicode(self):

Callers

nothing calls this directly

Calls 4

UnpicklingErrorClass · 0.85
unpackFunction · 0.50
readMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected