[This is preliminary documentation and is subject to change.]

Reads a number of bytes from source that matches the length of destination byte array.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)

Syntax

   
 C# 
public static void ReadAll(
	Stream source,
	byte[] destination
)

Parameters

source
Stream
Stream to read from.
destination
array<Byte>[]()[][]
Byte array to write to. Length of this array is used.

Exceptions

ExceptionCondition
System..::..ArgumentNullException If source or destination is null.
System.IO..::..EndOfStreamException If the end of stream was reached before destination array was filled.

See Also