C# Class Droog.Firkin.Util.StreamEx

Exibir arquivo Open project: sdether/Firkin

Public Methods

Method 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 method

public static ComputeHash ( this stream ) : byte[]
stream this
return byte[]

CopyTo() public static method

public static CopyTo ( this source, Stream target, long length ) : long
source this
target Stream
length long
return long

ReadBytes() public static method

public static ReadBytes ( this source ) : byte[]
source this
return byte[]

ReadBytes() public static method

public static ReadBytes ( this source, long length ) : byte[]
source this
length long
return byte[]

Write() public static method

public static Write ( this stream, byte buffer ) : void
stream this
buffer byte
return void