Exemple #1
0
        private static void \uE015(object \uE03F, Stream \uE040)
        {
            TypeCode typeCode = Type.GetTypeCode(\uE03F.GetType());

            if (CpInazumaMsgPack.\uE00D(typeCode) && Convert.ToInt64(\uE03F) < 0L && Convert.ToInt64(\uE03F) >= -32L)
            {
                CpInazumaMsgPack.\uE00B(\uE03F, global::\uE015.\uE001, \uE040);
                return;
            }
            if (CpInazumaMsgPack.\uE00C(typeCode))
            {
                if (!CpInazumaMsgPack.\uE00D(typeCode))
                {
                    if (Convert.ToUInt64(\uE03F) <= 127UL)
                    {
                        CpInazumaMsgPack.\uE00B(\uE03F, global::\uE015.\uE000, \uE040);
                        return;
                    }
                }
            }
            switch (typeCode)
            {
            case TypeCode.Boolean:
                CpInazumaMsgPack.\uE00B(null, ((bool)\uE03F) ? global::\uE015.\uE00D : global::\uE015.\uE00C, \uE040);
                return;

            case TypeCode.Char:
                CpInazumaMsgPack.\uE00B(\uE03F, global::\uE015.\uE017, \uE040);
                return;

            case TypeCode.SByte:
                CpInazumaMsgPack.\uE00B(\uE03F, global::\uE015.\uE01A, \uE040);
                return;

            case TypeCode.Byte:
                CpInazumaMsgPack.\uE00B(\uE03F, global::\uE015.\uE016, \uE040);
                return;

            case TypeCode.Int16:
                CpInazumaMsgPack.\uE00B(\uE03F, global::\uE015.\uE01B, \uE040);
                return;

            case TypeCode.UInt16:
                CpInazumaMsgPack.\uE00B(\uE03F, global::\uE015.\uE017, \uE040);
                return;

            case TypeCode.Int32:
                CpInazumaMsgPack.\uE00B(\uE03F, global::\uE015.\uE01C, \uE040);
                return;

            case TypeCode.UInt32:
                CpInazumaMsgPack.\uE00B(\uE03F, global::\uE015.\uE018, \uE040);
                return;

            case TypeCode.Int64:
                CpInazumaMsgPack.\uE00B(\uE03F, global::\uE015.\uE01D, \uE040);
                return;

            case TypeCode.UInt64:
                CpInazumaMsgPack.\uE00B(\uE03F, global::\uE015.\uE019, \uE040);
                return;

            case TypeCode.Single:
                CpInazumaMsgPack.\uE00B(\uE03F, global::\uE015.\uE014, \uE040);
                return;

            case TypeCode.Double:
                CpInazumaMsgPack.\uE00B(\uE03F, global::\uE015.\uE015, \uE040);
                return;

            default:
                return;
            }
        }