vtmpfile.write(decResult,0,decLength);
// And other for the stream where we want to save it!
if(os != null) {
os.write(decResult, 0, decLength);
}
} while(decLength == decResult.length || !dec.needsInput());
} else {
vtmpfile.write(data);
// And other for the stream where we want to save it!
if(os != null) {
os.write(data);