C# Class Flood.StreamExtensions

显示文件 Open project: FloodProject/flood

Public Methods

Method Description
ReadAllBytes ( this source ) : byte[]

Reads the contents of the stream into a byte array. data is returned as a byte array. An IOException is thrown if any of the underlying IO calls fail.

Method Details

ReadAllBytes() public static method

Reads the contents of the stream into a byte array. data is returned as a byte array. An IOException is thrown if any of the underlying IO calls fail.
The stream does not support reading. Methods were called after the stream was closed. An I/O error occurs.
public static ReadAllBytes ( this source ) : byte[]
source this
return byte[]