(self)
| 1452 | dispatch[STRING[0]] = load_string |
| 1453 | |
| 1454 | def load_binstring(self): |
| 1455 | # Deprecated BINSTRING uses signed 32-bit length |
| 1456 | len, = unpack('<i', self.read(4)) |
| 1457 | if len < 0: |
| 1458 | raise UnpicklingError("BINSTRING pickle has negative byte count") |
| 1459 | data = self.read(len) |
| 1460 | self.append(self._decode_string(data)) |
| 1461 | dispatch[BINSTRING[0]] = load_binstring |
| 1462 | |
| 1463 | def load_binbytes(self): |
nothing calls this directly
no test coverage detected