-
Notifications
You must be signed in to change notification settings - Fork 24
Description
I received the following exception when decompressing brotli file with Stream method:
{System.ExecutionEngineException: Attempting to JIT compile method '(wrapper other) void BrotliSharpLib.Brotli/BrotliDecoderStateStruct:PtrToStructure (intptr,object)' while running in aot-only mode. See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information.
at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.PtrToStructure(intptr,System.Type)
at System.Runtime.InteropServices.Marshal.PtrToStructure[T] (System.IntPtr ptr) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs:930
at BrotliSharpLib.Brotli.CreateStruct[T] () [0x00021] in <8abe3495f7f047ed822d11fb9d962483>:0
at BrotliSharpLib.Brotli.BrotliCreateDecoderState () [0x00000] in <8abe3495f7f047ed822d11fb9d962483>:0
at BrotliSharpLib.BrotliStream..ctor (System.IO.Stream stream, System.IO.Compression.CompressionMode mode, System.Boolean leaveOpen) [0x00079] in <8abe3495f7f047ed822d11fb9d962483>:0
at BrotliSharpLib.BrotliStream..ctor (System.IO.Stream stream, System.IO.Compression.CompressionMode mode) [0x00000] in <8abe3495f7f047ed822d11fb9d962483>:0
at ...
at ...
base: {System.SystemException}