exa.common.api.proto_serialization.datum.deserialize

Contents

exa.common.api.proto_serialization.datum.deserialize#

deserialize(source)#

Deserialize a bitstring into a native Python type or a numpy array. Reverse operation of serialize().

Parameters:

source (bytes) – Bitstring that encodes some data.

Returns:

Deserialized data.

Return type:

None | str | bool | int | float | complex | ndarray | list