C# Class System.IO.StreamExtensions

Afficher le fichier Open project: TargetProcess/Target-Process-Plugins

Méthodes publiques

Méthode Description
CopyTo ( this source, Stream destination ) : void
CopyTo ( this source, Stream destination, long start, long length, Action chunkAction ) : void
ToArray ( this stream ) : byte[]
ToStream ( this body ) : Stream

Method Details

CopyTo() public static méthode

public static CopyTo ( this source, Stream destination ) : void
source this
destination Stream
Résultat void

CopyTo() public static méthode

public static CopyTo ( this source, Stream destination, long start, long length, Action chunkAction ) : void
source this
destination Stream
start long
length long
chunkAction Action
Résultat void

ToArray() public static méthode

public static ToArray ( this stream ) : byte[]
stream this
Résultat byte[]

ToStream() public static méthode

public static ToStream ( this body ) : Stream
body this
Résultat Stream