BlobService.DownloadTo Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

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

DownloadTo(Blob, Stream)

Downloads a blob to the specified destination.

public static void DownloadTo(Blob blob, Stream destination)

Parameters

blob
Blob

The blob to download.

destination
System.IO.Stream

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

DownloadTo(Blob, Stream, long, long)

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

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

Parameters

blob
Blob

The blob to download.

destination
System.IO.Stream

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

offset
long

The zero-based byte offset at which to start downloading.

length
long

The number of bytes to download.