Click or drag to resize
UtilitiesReadEntireStream Method (Stream, Byte)
Fills an array completely using the provided stream. Unlike a normal .Read(), this one will always fully fill the array unless the Stream throws.

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static int ReadEntireStream(
	Stream oStream,
	byte[] arrBytes
)

Parameters

oStream
Type: System.IOStream
The stream from which to read.
arrBytes
Type: SystemByte
The byte array into which the data should be stored.

Return Value

Type: Int32
The count of bytes read.
See Also