internal ContiguousEnumToShort(ICUBinaryStream s) { enumStart = s.ReadInt(); enumLimit = s.ReadInt(); int count = enumLimit - enumStart; offsetArray = new short[count]; for (int i = 0; i < count; ++i) { offsetArray[i] = s.ReadShort(); } }
internal NonContiguousEnumToShort(ICUBinaryStream s) { int i; int count = s.ReadInt(); enumArray = new int[count]; offsetArray = new short[count]; for (i = 0; i < count; ++i) { enumArray[i] = s.ReadInt(); } for (i = 0; i < count; ++i) { offsetArray[i] = s.ReadShort(); } }