You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
Accord.IO.Serializer.Save<T>(this T obj, Stream stream, SerializerCompression compression = DEFAULT_COMPRESSION)
with compression = SerializerCompression.GZip, the stream object closes. And when I try to read serialized content from that stream, I get the exception:
System.ObjectDisposedException : Cannot access a closed Stream.
at System.IO.__Error.StreamIsClosed()
at System.IO.MemoryStream.set_Position(Int64 value)
at Accord.Tests.SerializerTest.compression_test_stream() in C:\Users\art\projects\github\accord.net\Unit Tests\Accord.Tests.Core\SerializerTest.cs:line 166