After I updated from 0.8.1 to 0.8.2, I started getting the following exception when trying to use the CompressionStream class:
System.TypeInitializationException: The type initializer for 'ZstdSharp.Unsafe.Methods' threw an exception.
---> System.PlatformNotSupportedException: Operation is not supported on this platform.
at System.Runtime.CompilerServices.RuntimeHelpers.AllocateTypeAssociatedMemory(Type type, Int32 size)
at ZstdSharp.Unsafe.Methods..cctor()
--- End of inner exception stack trace ---
at ZstdSharp.SafeCctxHandle.Create()
at ZstdSharp.Compressor..ctor(Int32 level)
at ZstdSharp.CompressionStream..ctor(Stream stream, Int32 level, Int32 bufferSize, Boolean leaveOpen)
Hello,
After I updated from 0.8.1 to 0.8.2, I started getting the following exception when trying to use the CompressionStream class: