예제 #1
0
            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();
                }
            }
예제 #2
0
            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();
                }
            }