SqlServerBlobProvider.DownloadToAsync Method

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

Overloads

DownloadToAsync(Blob, Stream) Writes the binary data of the file to the specified output stream.
DownloadToAsync(Blob, Stream, long, long) Writes the binary data of the blob from the provider to the specified output stream.

DownloadToAsync(Blob, Stream)

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

public Task DownloadToAsync(Blob blob, Stream destination)

Parameters

blob
Blob

The file.

destination
System.IO.Stream

The output stream where the data should be written.

Returns

System.Threading.Tasks.Task

DownloadToAsync(Blob, Stream, long, long)

Writes the binary data of the blob from the provider to the specified output stream.

public Task DownloadToAsync(Blob blob, Stream destination, long offset, long length)

Parameters

blob
Blob

The file.

destination
System.IO.Stream

The output stream where the data should be written.

offset
long

The starting offset.

length
long

The number of bytes to download.

Returns

System.Threading.Tasks.Task