예제 #1
0
        private static object \uE01C(Stream \uE04F, \uE015 \uE050, sbyte \uE051, Type \uE052)
        {
            int   num  = CpInazumaMsgPack.\uE005(\uE04F, \uE050, \uE051);
            Type  type = null;
            IList list = CpInazumaMsgPack.\uE013(\uE052, num, out type);

            for (int i = 0; i < num; i++)
            {
                object value = CpInazumaMsgPack.Unpack(\uE04F, type);
                try
                {
                    list[i] = Convert.ChangeType(value, type);
                }
                catch (InvalidCastException)
                {
                    list[i] = value;
                }
            }
            return(list);
        }