Jul 16, 2009 at 2:47 PM

Hi Cheeso,

Is it possible to add a new ZipFile.Save method that save into a byte[] ?


Jul 16, 2009 at 8:05 PM

Dom, I think that would be impractical because there is no way for DotNetZip to know the size of the required byte[] before saving.

I suggest you save to a MemoryStream and then just use MemoryStream.ToArray() to get the byte[]  you want.