Ejemplo n.º 1
0
 public static ResizableArray <Byte> ZeroOut(this ResizableArray <Byte> array, ref Int32 idx, Int32 count)
 {
     if (count > 0)
     {
         array.FillWithOffsetAndCount(idx, count, (Byte)0);
         idx += count;
     }
     return(array);
 }
Ejemplo n.º 2
0
 public static ResizableArray <T> FillWithOffset <T>(this ResizableArray <T> destinationArray, Int32 offset, params T[] value)
 {
     return(destinationArray.FillWithOffsetAndCount(offset, destinationArray.CurrentMaxCapacity - offset, value));
 }