[This is preliminary documentation and is subject to change.]

Validates the content of an area buffer. (All areas are valid.)

Namespace: org.critterai.nmgen
Assembly: cai-nmgen (in cai-nmgen.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static bool IsValidAreaBuffer(
	byte[] areas,
	int areaCount
)
Public Shared Function IsValidAreaBuffer ( _
	areas As Byte(), _
	areaCount As Integer _
) As Boolean
public:
static bool IsValidAreaBuffer(
	array<unsigned char>^ areas, 
	int areaCount
)

Parameters

areas
array<Byte>[]()[][]
The area buffer. [Length: <= areaCount]
areaCount
Int32
The number of areas defined in the buffer.

Return Value

True if the structure and content of the buffer is valid.

Remarks

The validation checks for an undersized buffer. It doesn't care about an oversized buffer.

See Also