Mono Class Library: System.Buffer Overview | Members

System.Buffer.SetByte Method

Set a single byte in an array to a specified value.

public static void SetByte (Array array, int index, byte value)

Parameters

array
The array which is to be modified.
index
The byte position within the array whose content should be modified.
value
The new value.

Remarks

Set the index'th byte of array to value.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0