serialise()
deserialise()
Serialise data using Pickle protocol 5 as a default and, failing that, resort to cloudpickle.
data
data (object)
bytes – Pickled object, in-band.
list – List of zero-copy buffers, out-of-band.
Deserialise using Pickle protocol 5.
in_band (bytes) – Pickled object.
out_band (list) – List of buffers.
deserialised object