Copies the content of the data stream Stream to the memory starting at the pointer dest.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public static void Copy(
	IntPtr dest,
	Stream src,
	int size
)

Parameters

dest
Type: System..::.IntPtr
The pointer where the data are saved.
src
Type: System.IO..::.Stream
The data stream from which the data will be copied.
size
Type: System..::.Int32
Size of the block in bytes.

Exceptions

ExceptionCondition
System..::.ArgumentNullException src is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::.ArgumentNullException dest is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also