Microsoft.Azure.Storage.Blob.SubStream
A wrapper class that creates a logical substream from a region within an existing seekable stream.
Allows for concurrent, asynchronous read and seek operations on the wrapped stream.
Ensures thread-safe operations between related substream instances via a shared, user-supplied synchronization mutex.
This class will buffer read requests to minimize overhead on the underlying stream.
public SubStream(Stream stream, long streamBeginIndex, long substreamLength, SemaphoreSlim globalSemaphore)
Creates a new SubStream instance.