Posted By:
Hernan_Ortega
Posted On:
Tuesday, June 1, 2004 01:29 PM
I want to compress and uncompress a Byte Array , how to do?
I am using ZipOutputStream, ZipInputStream classes, the compress and uncompress work very well when:
tempEntry.setMethod(ZipEntry.DEFLATED); Default method.
but, compress work very well and the uncompress fail, when:
tempEntry.setMethod(ZipEntry.STORED);
The tempEntry.getCompressedSize() was -1
can anyone help me?
thanks,
Hernan F.