C# Class ElmahFiddler.StreamExtensions

Mostra file Open project: mausch/ElmahFiddler

Public Methods

Method Description
CopyTo ( this source, Stream destination ) : void
CopyTo ( this source, Stream destination, int bufferSize ) : void
ReadAll ( this stream ) : byte[]

Fully reads a Stream

Private Methods

Method Description
InternalCopyTo ( this source, Stream destination, int bufferSize ) : void

Method Details

CopyTo() public static method

public static CopyTo ( this source, Stream destination ) : void
source this
destination Stream
return void

CopyTo() public static method

public static CopyTo ( this source, Stream destination, int bufferSize ) : void
source this
destination Stream
bufferSize int
return void

ReadAll() public static method

Fully reads a Stream
public static ReadAll ( this stream ) : byte[]
stream this
return byte[]