C# Class Microsoft.Http.StreamExtensions

Afficher le fichier Open project: o2platform/O2.Platform.Projects

Méthodes publiques

Méthode Description
ConsumeAllBytesAndClose ( this stream ) : long
CopyAndCloseSource ( this source, Stream destination, long size ) : long
CopyStreamTo ( this source, Stream destination ) : void
ReadAllBytes ( this source ) : byte[]
ReadAllBytes ( this source, long length ) : byte[]

Method Details

ConsumeAllBytesAndClose() public static méthode

public static ConsumeAllBytesAndClose ( this stream ) : long
stream this
Résultat long

CopyAndCloseSource() public static méthode

public static CopyAndCloseSource ( this source, Stream destination, long size ) : long
source this
destination Stream
size long
Résultat long

CopyStreamTo() public static méthode

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

ReadAllBytes() public static méthode

public static ReadAllBytes ( this source ) : byte[]
source this
Résultat byte[]

ReadAllBytes() public static méthode

public static ReadAllBytes ( this source, long length ) : byte[]
source this
length long
Résultat byte[]