Tesla Graphics Engine Documentation (January 2012)
CheckArrayBounds Method (array, offset, count)
TeslaTesla.UtilMemUtilsCheckArrayBounds(Array, Int32, Int32)
Checks an array's bounds for copy operations.
Declaration Syntax
C#
public static void CheckArrayBounds(
	Array array,
	int offset,
	int count
)
Parameters
array (Array)
Array to check
offset (Int32)
Offset from the start of the array
count (Int32)
Number of elements that will be copied
Exceptions
Exception Condition
ArgumentNullException Throws if the array is null
ArgumentOutOfRangeException Throws an exception if the count is less than zero, if the index is out of range, or if the sum of count and index are greater than the array length

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)