dumps#

swordfish._swordfishcpp.dumps(obj)#

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

参数:

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

返回:

The serialized representation of obj.

返回类型:

bytes