示例#1
0
        public override void ReadFrom(Tup.Tars.TarsInputStream _is)
        {
            ibegin = (int)_is.Read(ibegin, 0, true);

            b = (bool)_is.Read(b, 1, true);

            si = (short)_is.Read(si, 2, true);

            by = (byte)_is.Read(by, 3, true);

            ii = (int)_is.Read(ii, 4, true);

            li = (long)_is.Read(li, 5, true);

            f = (float)_is.Read(f, 6, true);

            d = (double)_is.Read(d, 7, true);

            s = (string)_is.Read(s, 8, true);

            vi = (System.Collections.Generic.List <int>)_is.Read(vi, 9, true);

            mi = (System.Collections.Generic.Dictionary <int, string>)_is.Read(mi, 10, true);

            aa = (A)_is.Read(aa, 11, true);

            iend = (int)_is.Read(iend, 12, true);

            vb = (System.Collections.Generic.List <byte>)_is.Read(vb, 13, true);

            vi2 = (System.Collections.Generic.List <A>)_is.Read(vi2, 15, true);

            mi2 = (System.Collections.Generic.Dictionary <int, A>)_is.Read(mi2, 16, true);

            uii = (long)_is.Read(uii, 17, true);

            msv = (System.Collections.Generic.Dictionary <string, System.Collections.Generic.List <A> >)_is.Read(msv, 18, true);

            vf = (System.Collections.Generic.List <float>)_is.Read(vf, 19, false);
        }
示例#2
0
        public override void ReadFrom(Tup.Tars.TarsInputStream _is)
        {
            a = (int)_is.Read(a, 1, true);

            f = (float)_is.Read(f, 2, true);
        }
示例#3
0
        public override void ReadFrom(Tup.Tars.TarsInputStream _is)
        {
            a = (int)_is.Read(a, 1, true);

            b = (B)_is.Read(b, 2, true);
        }