(self)
| 1339 | dispatch[STRING[0]] = load_string |
| 1340 | |
| 1341 | def load_binstring(self): |
| 1342 | # Deprecated BINSTRING uses signed 32-bit length |
| 1343 | len, = unpack('<i', self.read(4)) |
| 1344 | if len < 0: |
| 1345 | raise UnpicklingError("BINSTRING pickle has negative byte count") |
| 1346 | data = self.read(len) |
| 1347 | self.append(self._decode_string(data)) |
| 1348 | dispatch[BINSTRING[0]] = load_binstring |
| 1349 | |
| 1350 | def load_binbytes(self): |
nothing calls this directly
no test coverage detected