/Engine/Source/Runtime/Core/Public/Misc/Compression.h
Same as CompressMemory but evaluates if the compression gain is worth the runtime decode time returns false if the size saving is not worth it (also if CompressedSize >= UncompressedSize) if false is returned, send the data uncompressed instead
true if compression succeeds, false if it fails because CompressedBuffer was too small or other reasons
static bool CompressMemoryIfWorthDecompressing ( [FName](API\Runtime\Core\UObject\FName) FormatName, int32 MinBytesSaved, int32 MinPercentSaved, void * CompressedBuffer, int32 & CompressedSize, const void * UncompressedBuffer, int32 UncompressedSize, ECompressionFlags Flags, int32 CompressionData )