C# Class Droog.Firkin.Util.StreamEx

Afficher le fichier Open project: sdether/Firkin

Méthodes publiques

Méthode Description
ComputeHash ( this stream ) : byte[]
CopyTo ( this source, Stream target, long length ) : long
ReadBytes ( this source ) : byte[]
ReadBytes ( this source, long length ) : byte[]
Write ( this stream, byte buffer ) : void

Method Details

ComputeHash() public static méthode

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

CopyTo() public static méthode

public static CopyTo ( this source, Stream target, long length ) : long
source this
target Stream
length long
Résultat long

ReadBytes() public static méthode

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

ReadBytes() public static méthode

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

Write() public static méthode

public static Write ( this stream, byte buffer ) : void
stream this
buffer byte
Résultat void