C# Class StreamGetBytes, extensions

>Easily get all bytes that make up an arbitrary stream.
Mostra file Open project: netfx/extensions

Public Methods

Method Description
GetBytes ( this stream ) : byte[]

Returns all bytes from the given stream.

Method Details

GetBytes() public static method

Returns all bytes from the given stream.
public static GetBytes ( this stream ) : byte[]
stream this The stream to get bytes
return byte[]