(self)
| 1478 | dispatch[STRING[0]] = load_string |
| 1479 | |
| 1480 | def load_binstring(self): |
| 1481 | # Deprecated BINSTRING uses signed 32-bit length |
| 1482 | len, = unpack('<i', self.read(4)) |
| 1483 | if len < 0: |
| 1484 | raise UnpicklingError("BINSTRING pickle has negative byte count") |
| 1485 | data = self.read(len) |
| 1486 | self.append(self._decode_string(data)) |
| 1487 | dispatch[BINSTRING[0]] = load_binstring |
| 1488 | |
| 1489 | def load_binbytes(self): |
nothing calls this directly
no test coverage detected