Esempio n. 1
0
        private void method_1(ns2.Class74 stream, Class47 glyph)
        {
            bool flag = true;

            while (flag)
            {
                short num1       = stream.method_4();
                long  position   = stream.Position;
                int   glyphIndex = this.class80_0.IndexMappings.method_1((int)stream.method_4());
                glyph.method_1(glyphIndex);
                stream.Position -= 2L;
                stream.method_5(glyphIndex);
                int num2 = ((int)num1 & 1) <= 0 ? 2 : 4;
                if (((int)num1 & 8) > 0)
                {
                    num2 = 2;
                }
                else if (((int)num1 & 64) > 0)
                {
                    num2 = 4;
                }
                else if (((int)num1 & 128) > 0)
                {
                    num2 = 8;
                }
                if (((int)num1 & 256) > 0)
                {
                    num2 = (int)stream.method_8();
                }
                flag = ((int)num1 & 32) > 0;
                stream.method_25((long)num2);
            }
        }
Esempio n. 2
0
        public Class47 method_0(int glyphIndex)
        {
            ns2.Class74 stream1 = this.class80_0.Stream;
            uint        num     = this.class41_0.Offset + this.class5_0[glyphIndex];
            long        length  = this.method_2(glyphIndex);
            Class47     glyph   = new Class47(this.class80_0.IndexMappings.method_1(glyphIndex));

            if (length != 0L)
            {
                byte[] numArray = new byte[length];
                stream1.Position = (long)num;
                stream1.method_24(numArray, 0, numArray.Length);
                glyph.method_0(numArray);
                ns2.Class74 stream2 = new ns2.Class74(numArray);
                bool        flag    = stream2.method_4() < (short)0;
                stream2.method_25(8L);
                if (flag)
                {
                    this.method_1(stream2, glyph);
                }
            }
            return(glyph);
        }
Esempio n. 3
0
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream = reader.Stream;

            this.int_0      = stream.method_16();
            this.int_1      = stream.method_16();
            this.uint_0     = stream.method_14();
            this.uint_1     = stream.method_14();
            this.ushort_0   = stream.method_8();
            this.ushort_1   = stream.method_8();
            this.dateTime_0 = Class2.smethod_0(stream.method_18());
            this.dateTime_1 = Class2.smethod_0(stream.method_18());
            this.short_0    = stream.method_4();
            this.short_1    = stream.method_4();
            this.short_2    = stream.method_4();
            this.short_3    = stream.method_4();
            this.ushort_2   = stream.method_8();
            this.ushort_3   = stream.method_8();
            this.short_4    = stream.method_4();
            this.short_5    = stream.method_4();
            this.short_6    = stream.method_4();
        }