示例#1
0
 public void UnPackTo(FooT _o)
 {
     _o.Id     = this.Id;
     _o.Count  = this.Count;
     _o.Prefix = this.Prefix;
     _o.Length = this.Length;
 }
示例#2
0
        public FooT UnPack()
        {
            var _o = new FooT();

            this.UnPackTo(_o);
            return(_o);
        }
示例#3
0
 public static Offset <Benchmark.FBBench.Google.Foo> Pack(FlatBufferBuilder builder, FooT _o)
 {
     if (_o == null)
     {
         return(default(Offset <Benchmark.FBBench.Google.Foo>));
     }
     return(CreateFoo(
                builder,
                _o.Id,
                _o.Count,
                _o.Prefix,
                _o.Length));
 }