C# Class System.IO.Compression.DeflateStream.CopyToAsyncStream

Inheritance: Stream
Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Méthode Description
CopyFromSourceToDestination ( ) : Task
CopyToAsyncStream ( DeflateStream deflateStream, Stream destination, int bufferSize, CancellationToken cancellationToken ) : System.Buffers
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task

Method Details

CopyFromSourceToDestination() public méthode

public CopyFromSourceToDestination ( ) : Task
Résultat Task

CopyToAsyncStream() public méthode

public CopyToAsyncStream ( DeflateStream deflateStream, Stream destination, int bufferSize, CancellationToken cancellationToken ) : System.Buffers
deflateStream DeflateStream
destination Stream
bufferSize int
cancellationToken System.Threading.CancellationToken
Résultat System.Buffers

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

WriteAsync() public méthode

public WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
Résultat Task