Hi -

I am quite confused.  I need to gunzip a file into
memory.  If I try to use the filters, I get into a
quandary about how big to allocate my memory buffer -
as follows:

char inputFileName = "myFile";
byte* buffer[ HOW_THE_HECK_DO_I_KNOW ];
 
FileSource(inputFileName, true, 
             new Gunzip( new ArraySink( buffer,
sizeof(buffer) ));

Any advice would be appreciated.

Thanks
-Sara



        


Reply via email to