예제 #1
0
 private static int \uE005(Stream \uE027, \uE015 \uE028, sbyte \uE029)
 {
     if (\uE028 == global::\uE015.\uE004)
     {
         return((int)\uE029);
     }
     if (\uE028 == global::\uE015.\uE002)
     {
         return((int)\uE029);
     }
     if (\uE028 == global::\uE015.\uE003)
     {
         return((int)\uE029);
     }
     if (!CpInazumaMsgPack.\uE00F(\uE028))
     {
         if (!CpInazumaMsgPack.\uE010(\uE028))
         {
             if (!CpInazumaMsgPack.\uE011(\uE028))
             {
                 if (!CpInazumaMsgPack.\uE012(\uE028))
                 {
                     return(0);
                 }
             }
         }
     }
     return((int)CpInazumaMsgPack.\uE001(\uE027, CpInazumaMsgPack.\uE004(\uE028, \uE029)));
 }
예제 #2
0
        private static object \uE01B(Stream \uE04C, \uE015 \uE04D, sbyte \uE04E)
        {
            if (\uE04D != global::\uE015.\uE000)
            {
                switch (\uE04D)
                {
                case global::\uE015.\uE00C:
                    return(false);

                case global::\uE015.\uE00D:
                    return(true);

                case global::\uE015.\uE00E:
                case global::\uE015.\uE00F:
                case global::\uE015.\uE010:
                case global::\uE015.\uE011:
                case global::\uE015.\uE012:
                case global::\uE015.\uE013:
                    break;

                case global::\uE015.\uE014:
                    return(CpInazumaMsgPack.\uE002(\uE04C));

                case global::\uE015.\uE015:
                    return(CpInazumaMsgPack.\uE003(\uE04C));

                case global::\uE015.\uE016:
                    return((byte)\uE04C.ReadByte());

                case global::\uE015.\uE017:
                    return((ushort)CpInazumaMsgPack.\uE001(\uE04C, 2));

                case global::\uE015.\uE018:
                    return((uint)CpInazumaMsgPack.\uE001(\uE04C, 4));

                case global::\uE015.\uE019:
                    return((ulong)CpInazumaMsgPack.\uE001(\uE04C, 8));

                case global::\uE015.\uE01A:
                    return((sbyte)\uE04C.ReadByte());

                case global::\uE015.\uE01B:
                    return((short)CpInazumaMsgPack.\uE001(\uE04C, 2));

                case global::\uE015.\uE01C:
                    return((int)CpInazumaMsgPack.\uE001(\uE04C, 4));

                case global::\uE015.\uE01D:
                    return(CpInazumaMsgPack.\uE001(\uE04C, 8));

                default:
                    if (\uE04D == global::\uE015.\uE001)
                    {
                        return(\uE04E);
                    }
                    break;
                }
                return(null);
            }
            return((byte)\uE04E);
        }