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
During the first call to DataBus.OpenRead, the returned object is a System.IO.Compression.GZipStream, which contains an internal buffer of type Azure.Storage.LazyLoadingReadOnlyStream<Azure.Storage.Blobs.Models.BlobProperties>. Initially, the stream's Position is set to 0, and all buffer elements are set to 0. After deserialization, everything works as expected: the Position is at the end of the stream, and the buffer is populated with the correct values.
On the second call to DataBus.OpenRead, the returned object is directly an Azure.Storage.LazyLoadingReadOnlyStream<Azure.Storage.Blobs.Models.BlobProperties> with the same initial state: Position is 0, and all buffer elements are set to 0.
However, when we attempt to deserialize the second object using the same method as the first, an error occurs at the first element in the buffer, with the value 31.
For testing purposes, after removing the UseCompression configuration in the DataBus, the second OpenRead and deserialization complete without any errors.
The text was updated successfully, but these errors were encountered:
During the first call to DataBus.OpenRead, the returned object is a System.IO.Compression.GZipStream, which contains an internal buffer of type Azure.Storage.LazyLoadingReadOnlyStream<Azure.Storage.Blobs.Models.BlobProperties>. Initially, the stream's Position is set to 0, and all buffer elements are set to 0. After deserialization, everything works as expected: the Position is at the end of the stream, and the buffer is populated with the correct values.
On the second call to DataBus.OpenRead, the returned object is directly an Azure.Storage.LazyLoadingReadOnlyStream<Azure.Storage.Blobs.Models.BlobProperties> with the same initial state: Position is 0, and all buffer elements are set to 0.
However, when we attempt to deserialize the second object using the same method as the first, an error occurs at the first element in the buffer, with the value 31.
For testing purposes, after removing the UseCompression configuration in the DataBus, the second OpenRead and deserialization complete without any errors.
The text was updated successfully, but these errors were encountered: