dump#

swordfish._swordfishcpp.dump(obj, file)#

Serialize a Constant object and write the serialized data to a writable BinaryIO object.

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

  • file (BinaryIO) – A writable BinaryIO object to store the serialized data.

Return type:

None