C# Class Appccelerate.IO.Streams.StreamExtensionMethods

Class to help with stream handling that is not covered by .NET.
显示文件 Open project: appccelerate/appccelerate

Public Methods

Method Description
CompareStreamContentsTo ( this actual, Stream expected ) : bool

Compares the contents of the streams given.

CopyTo ( this input, Stream output ) : void

Copies the input stream to the output stream.

Method Details

CompareStreamContentsTo() public static method

Compares the contents of the streams given.
public static CompareStreamContentsTo ( this actual, Stream expected ) : bool
actual this /// The actual. ///
expected Stream /// The expected. ///
return bool

CopyTo() public static method

Copies the input stream to the output stream.
or are null. /// is not readable or is /// not writable.
public static CopyTo ( this input, Stream output ) : void
input this The input stream.
output Stream The output stream.
return void