Returns: bytes
(obj)
| 78 | class PickleSerializer(object): |
| 79 | @staticmethod |
| 80 | def dumps(obj): |
| 81 | """ |
| 82 | Returns: |
| 83 | bytes |
| 84 | """ |
| 85 | return pickle.dumps(obj, protocol=-1) |
| 86 | |
| 87 | @staticmethod |
| 88 | def loads(buf): |
no outgoing calls
no test coverage detected