Table of Contents

Class StreamExtensions

Namespace
NuGet.Protocol
Assembly
NuGet.Protocol.dll
public static class StreamExtensions
Inheritance
StreamExtensions
Inherited Members

Fields

BufferSize

public static readonly int BufferSize

Field Value

int

Methods

CopyToAsync(Stream, Stream, CancellationToken)

public static Task CopyToAsync(this Stream stream, Stream destination, CancellationToken token)

Parameters

stream Stream
destination Stream
token CancellationToken

Returns

Task