//----------------------------------------------------------------// bool USData::Deflate ( int level, int windowBits ) { USDeflateWriter deflater; deflater.SetCompressionLevel ( level ); deflater.SetWindowBits ( windowBits ); return this->Encode ( deflater ); }
//----------------------------------------------------------------// bool MOAILuaState::Deflate ( int idx, int level, int windowBits ) { USDeflateWriter deflater; deflater.SetCompressionLevel ( level ); deflater.SetWindowBits ( windowBits ); return this->Encode ( idx, deflater ); }