コード例 #1
0
        public void WriteBitArray(BitArray buffer, int len)
        {
            byte[] array = new byte[PacketWriter.smethod_10((PacketWriter.smethod_9(buffer) + 8) / 8) + 1];
            while (true)
            {
IL_A3:
                uint arg_83_0 = 2766179428u;
                while (true)
                {
                    uint num;
                    switch ((num = (arg_83_0 ^ 3138209411u)) % 5u)
                    {
                    case 0u:
                        PacketWriter.smethod_11(buffer, array, 0);
                        PacketWriter.smethod_7(this, array, 0, len);
                        arg_83_0 = 2437939306u;
                        continue;

                    case 1u:
                        arg_83_0 = (((len > array.Length) ? 627101049u : 1635445140u) ^ num * 3469367682u);
                        continue;

                    case 2u:
                        array    = array.Concat(new byte[len - array.Length]).ToArray <byte>();
                        arg_83_0 = (num * 88440560u ^ 1331077402u);
                        continue;

                    case 4u:
                        goto IL_A3;
                    }
                    return;
                }
            }
        }