Previously I've posted a few Helper Classes . This post describes my ArrayHelper class.
using System;
using System.Collections;
using System.Runtime.CompilerServices;
using System.Xml;
public static class ArrayHelper
{
public static void FillBytesRange(Array array,int indexStart,int indexEnd, byte value)
{
for (int i = indexStart; i <= indexEnd; i++)
{
Buffer.SetByte(array, i, value);
}
}
}//end of class ArrayHelper
posted @ Monday, October 08, 2007 12:42 AM