DiskBlobProvider.DownloadTo Method

Namespace:
Weavy.Core.Providers
Assembly:
Weavy.Core.dll

Overloads

DownloadTo(Blob, Stream) Downloads the binary data of the specified blob to the specified output stream.
DownloadTo(Blob, Stream, long, long) Downloads a range of bytes from the blob to a destination.

DownloadTo(Blob, Stream)

Downloads the binary data of the specified blob to the specified output stream.

public void DownloadTo(Blob blob, Stream destination)

Parameters

blob
Blob

The blob.

destination
System.IO.Stream

The output stream where the data should be written.

DownloadTo(Blob, Stream, long, long)

Downloads a range of bytes from the blob to a destination.

public void DownloadTo(Blob blob, Stream destination, long offset, long length)

Parameters

blob
Blob

A Blob object with metadata.

destination
System.IO.Stream

A System.IO.Stream to write the downloaded content to.

offset
long

The starting offset.

length
long

The number of bytes to download, null means the range extends all the way to the end.