Fills the memory starting at the pointer dest, length size with the value value.

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

Syntax

C#
public static void Fill(
	IntPtr dest,
	int size,
	byte value
)

Parameters

dest
Type: System..::.IntPtr
The pointer where the data are saved.
size
Type: System..::.Int32
Size of the block in bytes.
value
Type: System..::.Byte
One byte (8 bits) value with which the block will be filled.

Exceptions

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

See Also