C# Class ServiceInsight.ExtensionMethods.StreamHelper

Show file Open project: Particular/ServiceInsight

Public Methods

Method Description
GetAsBytes ( this stream ) : byte[]
GetAsStream ( this someString ) : Stream
GetAsString ( this stream ) : string

Method Details

GetAsBytes() public static method

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

GetAsStream() public static method

public static GetAsStream ( this someString ) : Stream
someString this
return System.IO.Stream

GetAsString() public static method

public static GetAsString ( this stream ) : string
stream this
return string