LazyLoadingReadOnlyStream<TProperties>
Used for Open Read APIs.
            
                
Delegate for a resource's direct REST download method.
            
Delegate for getting properties for the target resource.
            
Delegate to replicate how a client will alter the download range.
            Used to avoid requesting blob ranges that will result in error after transformation.
            
No-op for range adjustment.
            
public LazyLoadingReadOnlyStream(DownloadInternalAsync<TProperties> downloadInternalFunc, GetPropertiesAsync<TProperties> getPropertiesFunc, DownloadTransferValidationOptions transferValidation, bool allowModifications, long initialLength, long position = 0, int? bufferSize = default, PredictEncryptedRangeAdjustment<TProperties> rangePredictionFunc = null)
public Task<int> ReadInternal(byte[] buffer, int offset, int count, bool async, CancellationToken cancellationToken)