GZIPOutputFileStream problem


#1

Hi
I was trying to use juce’s GZIPOutputFileStream to write some data through the stream into a file but the setPosition command doesnt seem to be implemented.Please suggest me a way to write into different positions of a file in a compressed format using GZIPOutputFileStream

Praveen


#2

No chance! Gzip can only write data in a continuous stream. The best you could do would be to close the file, uncompress everything in it to a temp file, write your new data into that, and re-compress it all over again.


#3