SqlServerBlobProvider.DownloadTo Method

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

Overloads

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

DownloadTo(Blob, Stream)

Writes the binary data of the file to the specified output stream.

public void DownloadTo(Blob blob, Stream destination)

Parameters

blob
Blob

The file.

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.