DiscussionsIssue archiveOther usage issues

Archived discussion

How to make OCAF use binary format?

Other usage issuesSat, 09/07/2002 - 13:012 replies

Browse this forum
QuestionAuthor

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,
Author

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

Hi,

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

02Author

Hi,

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

Faint.

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

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

regards,
Author