StreamUtility.ReadAllBytes method

Reads all bytes from the stream.

public static byte[] ReadAllBytes(this Stream stream)
parameter description
stream The stream.

Return Value

An array of all bytes read from the stream.

See Also