Tesla Graphics Engine Documentation (January 2012)
CheckBounds Method (lowerBound, length, offset, count)
TeslaTesla.UtilMemUtilsCheckBounds(Int32, Int32, Int32, Int32)
Checks bounds for reading/writing operations.
Declaration Syntax
C#
public static void CheckBounds(
	int lowerBound,
	int length,
	int offset,
	int count
)
Parameters
lowerBound (Int32)
Lower bound for the index (typically zero)
length (Int32)
Length of the data
offset (Int32)
Offset index
count (Int32)
Number of elements
Exceptions
Exception Condition
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)