MemoryBlock.Compress does not compress

I’m guessing nobody uses this feature…

https://tracker.xojo.com/xojoinc/xojo/-/issues/81449

This seems to be based on the compression level, it looks like it’s using None as default.

MemoryBlock.Compress(MemoryBlock.CompressionLevels.Best)

Yields me satisfactory results on a longer string.

Good point, but I think it’s a little more than an incorrect default. Using an explicit Normal yields the same results. I think None and Normal are swapped, because Normal is uncompressed + headers while None is compressed.

Yeah, you may be right. The CompressionLevels enum is incorrectly enummed, heh.