Skip to content

StreamExtensions.ReadAllBytes Method

Definition

Reads all remaining bytes from the stream.

public static Byte[] ReadAllBytes(this Stream stream);

View source

Parameters

Name Type Description
stream Stream

Returns

Byte[]

A byte array containing all remaining bytes from the stream.