<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.1.4" />

Microsoft.Azure.Storage.Blob.BlobReadStreamBase

abstract class BlobReadStreamBase : Stream
protected AccessCondition accessCondition

protected CloudBlob blob

protected ChecksumWrapper blobChecksum

protected long currentOffset

protected MultiBufferMemoryStream internalBuffer

protected OperationContext operationContext

protected BlobReadStreamBase(CloudBlob blob, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)

Initializes a new instance of the BlobReadStreamBase class.

protected int ConsumeBuffer(byte[] buffer, int offset, int count)

Read as much as we can from the internal buffer

protected int GetReadSize()

Calculates the number of bytes to read from the blob.

protected void VerifyBlobChecksum(byte[] buffer, int offset, int count)

Updates the blob checksum with newly downloaded content.