private unsafe int[] GetWordArray(uint iData)
{
if (iData == 0)
return new int[0];
ushort* pWord = this.m_pPool + iData;
int count = (int)pWord[0]; // The number of words in the array
BCLDebug.Assert(count != 0,
"[CultureTableRecord.GetWordArray]Expected non-zero length array");
int[] values = new int[count];
pWord++; // Get past count
for (int i = 0; i < count; i++) {
values[i] = pWord[i];
}
return (values);
}