BuildMaster SDK Reference
Version:

StreamExtensions Class

Contains extension methods for System.IO.Stream.

Inheritance Hierarchy

  • object
    • Inedo.IO.StreamExtensions

Syntax

public class StreamExtensions

Methods

Name Description
CopyToAsync(System.IO.Stream source, System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken, System.Action<long> reportProgress)

Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size, cancellation token, and progress reporting delegate.

CopyToAsync(System.IO.Stream source, System.IO.Stream destination, int bufferSize, System.Action<long> reportProgress)

Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size and progress reporting delegate.

CopyToAsync(System.IO.Stream source, System.IO.Stream destination, System.Action<long> reportProgress)

Asynchronously reads the bytes from the current stream and writes them to another stream, using a progress reporting delegate.