Exemple #1
0
        public AlignmentTestOuterT UnPack()
        {
            var _o = new AlignmentTestOuterT();

            this.UnPackTo(_o);
            return(_o);
        }
Exemple #2
0
 public void UnPackTo(AlignmentTestOuterT _o)
 {
     _o.A = this.A;
     _o.B = this.B;
     _o.C = this.C;
     _o.D = this.D;
     _o.E = this.E;
     _o.F = this.F;
     _o.G = this.G.UnPack();
 }
Exemple #3
0
        public static Offset <FlatSharpTests.Oracle.AlignmentTestOuter> Pack(FlatBufferBuilder builder, AlignmentTestOuterT _o)
        {
            if (_o == null)
            {
                return(default(Offset <FlatSharpTests.Oracle.AlignmentTestOuter>));
            }
            var _g_a = _o.G.A;
            var _g_b = _o.G.B;
            var _g_c = _o.G.C;

            return(CreateAlignmentTestOuter(
                       builder,
                       _o.A,
                       _o.B,
                       _o.C,
                       _o.D,
                       _o.E,
                       _o.F,
                       _g_a,
                       _g_b,
                       _g_c));
        }