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

Inheritance: IStreamHelper
Afficher le fichier Open project: vesoapp/veso

Méthodes publiques

Méthode 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

Méthode Description
CopyToAsyncInternal ( Stream source, Stream destination, Array buffer, CancellationToken cancellationToken ) : Task

Method Details

CopyToAsync() public méthode

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

CopyToAsync() public méthode

public CopyToAsync ( Stream source, Stream destination, int bufferSize, int emptyReadLimit, CancellationToken cancellationToken ) : Task
source Stream
destination Stream
bufferSize int
emptyReadLimit int
cancellationToken CancellationToken
Résultat Task

CopyToAsync() public méthode

public CopyToAsync ( Stream source, Stream destination, long copyLength, CancellationToken cancellationToken ) : Task
source Stream
destination Stream
copyLength long
cancellationToken CancellationToken
Résultat Task

CopyToAsync() public méthode

public CopyToAsync ( Stream source, Stream destination, CancellationToken cancellationToken ) : Task
source Stream
destination Stream
cancellationToken CancellationToken
Résultat Task

CopyUntilCancelled() public méthode

public CopyUntilCancelled ( Stream source, Stream target, int bufferSize, CancellationToken cancellationToken ) : Task
source Stream
target Stream
bufferSize int
cancellationToken CancellationToken
Résultat Task