C# Class Emby.Server.Implementations.IO.StreamHelper

Inheritance: IStreamHelper
ファイルを表示 Open project: vesoapp/veso

Public Methods

Method Description
CopyToAsync ( Stream source, Stream destination, int bufferSize, Action onStarted, CancellationToken cancellationToken ) : Task
CopyToAsync ( Stream source, Stream destination, int bufferSize, int emptyReadLimit, CancellationToken cancellationToken ) : Task
CopyToAsync ( Stream source, Stream destination, long copyLength, CancellationToken cancellationToken ) : Task
CopyToAsync ( Stream source, Stream destination, CancellationToken cancellationToken ) : Task
CopyUntilCancelled ( Stream source, Stream target, int bufferSize, CancellationToken cancellationToken ) : Task

Private Methods

Method Description
CopyToAsyncInternal ( Stream source, Stream destination, Array buffer, CancellationToken cancellationToken ) : Task

Method Details

CopyToAsync() public method

public CopyToAsync ( Stream source, Stream destination, int bufferSize, Action onStarted, CancellationToken cancellationToken ) : Task
source Stream
destination Stream
bufferSize int
onStarted Action
cancellationToken CancellationToken
return Task

CopyToAsync() public method

public CopyToAsync ( Stream source, Stream destination, int bufferSize, int emptyReadLimit, CancellationToken cancellationToken ) : Task
source Stream
destination Stream
bufferSize int
emptyReadLimit int
cancellationToken CancellationToken
return Task

CopyToAsync() public method

public CopyToAsync ( Stream source, Stream destination, long copyLength, CancellationToken cancellationToken ) : Task
source Stream
destination Stream
copyLength long
cancellationToken CancellationToken
return Task

CopyToAsync() public method

public CopyToAsync ( Stream source, Stream destination, CancellationToken cancellationToken ) : Task
source Stream
destination Stream
cancellationToken CancellationToken
return Task

CopyUntilCancelled() public method

public CopyUntilCancelled ( Stream source, Stream target, int bufferSize, CancellationToken cancellationToken ) : Task
source Stream
target Stream
bufferSize int
cancellationToken CancellationToken
return Task