Skip to content

StreamExtensions.ReadAllBytes Method ​

Definition ​

Reads all remaining bytes from the stream.

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

View source

Parameters ​

NameTypeDescription
streamStream

Returns ​

Byte[]

A byte array containing all remaining bytes from the stream.