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

Fills the entire given byte array with a specified byte value, as efficiently as possible.

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

Syntax

   
 C# 
public static void MemSet(
	this byte[] array,
	byte value
)

Parameters

array
array<Byte>[]()[][]
Array to work with.
value
Byte
Value to assign to each byte of the array.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter.

Exceptions

ExceptionCondition
System..::..ArgumentNullException If array is null.

See Also