datum

datum#

Convert native Python types and numpy arrays to protos and back.

Full path: exa.common.api.proto_serialization.datum

Functions

deserialize(source)

Deserialize a bitstring into a native Python type or a numpy array.

pack(value)

Packs a string, numerical value, or an array thereof into protobuf format.

serialize(value)

Serialize a piece of data into a bitstring.

unpack(source)

Unpacks a protobuf into a native Python type or a numpy array.