How to make OCAF use binary format?

Hi,

OCAF use ascii format when it does file storage. But it waste space very much. After I zip a 100K OCAF file, I usually get 20K zip file. That is to say, at least 80% file space is wasted.

Is there any way to instrument OCAF to use binary file format?

best regards,
fhchina

Stephane Routelous's picture

Hi,

you can use the zlib library to compress/decompress the file in your programm

fhchina's picture

Hi,

:-):-):-):-):-):-):-):-)

Faint.

If there is no way, my only method is to use some code from codeguru to zip/unzip it.

:-):-):-):-):-):-):-):-)

regards,
fhchina