C# Class HitProxy.Connection.StreamExtensions

Afficher le fichier Open project: hultqvist/HitProxy

Méthodes publiques

Méthode Description
PipeTo ( this source, Stream output ) : int

Send all data from incoming socket to output. Buffer is assumed to be empty.

PipeTo ( this source, Stream output, long length ) : void

Send length bytes of data from incoming socket to output. Buffer is assumed to be empty.

Method Details

PipeTo() public static méthode

Send all data from incoming socket to output. Buffer is assumed to be empty.
public static PipeTo ( this source, Stream output ) : int
source this
output Stream
Résultat int

PipeTo() public static méthode

Send length bytes of data from incoming socket to output. Buffer is assumed to be empty.
public static PipeTo ( this source, Stream output, long length ) : void
source this
output Stream
length long
Résultat void