Beispiel #1
0
//----------------------------------------------------------------//
bool USData::Deflate ( int level, int windowBits ) {

    USDeflateWriter deflater;
    deflater.SetCompressionLevel ( level );
    deflater.SetWindowBits ( windowBits );

    return this->Encode ( deflater );
}
Beispiel #2
0
//----------------------------------------------------------------//
bool MOAILuaState::Deflate ( int idx, int level, int windowBits ) {

	USDeflateWriter deflater;
	deflater.SetCompressionLevel ( level );
	deflater.SetWindowBits ( windowBits );

	return this->Encode ( idx, deflater );
}