Binary dump of shapes

I would like to use the Dump function (not Write) to save shapes in file.

And I am wondering if the Dump binary format is compatible through OpenCascade versions.

Ie: if I Dump a shape with Opencascade 6.5.1, can I read the file with Opencascade 6.5.5 ?

NB: With Write function, I know it is ok. But with Dump function, I don't know.

Thank you for your answer.

Jean-Yves

Albert Woo's picture

I'm also interested in saving shapes in binary mode, either write or dump.
Did you find a way?
Can you post the piece of code that does that?
Thank you