C# Class Rebel.Framework.StreamExtensions

Datei anzeigen Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
ReadAllBytes ( this input ) : byte[]

Will ensure that all bytes are read from the stream regardless of where it's coming from, this will NOT close the stream, the caller must do that

See: http://stackoverflow.com/questions/221925/creating-a-byte-array-from-a-stream

Method Details

ReadAllBytes() public static method

Will ensure that all bytes are read from the stream regardless of where it's coming from, this will NOT close the stream, the caller must do that
See: http://stackoverflow.com/questions/221925/creating-a-byte-array-from-a-stream
public static ReadAllBytes ( this input ) : byte[]
input this
return byte[]