dumps#

swordfish._swordfishcpp.dumps(obj)#

Serialize a Constant object and return the serialized data as bytes.

Parameters:

obj (Constant) – The object to serialize. Must be a Constant object.

Returns:

The serialized representation of obj.

Return type:

bytes