コード例 #1
0
 public void UnPackTo(BarT _o)
 {
     _o.Parent = this.Parent.UnPack();
     _o.Time   = this.Time;
     _o.Ratio  = this.Ratio;
     _o.Size   = this.Size;
 }
コード例 #2
0
        public BarT UnPack()
        {
            var _o = new BarT();

            this.UnPackTo(_o);
            return(_o);
        }
コード例 #3
0
 public static Offset <Benchmark.FBBench.Google.Bar> Pack(FlatBufferBuilder builder, BarT _o)
 {
     if (_o == null)
     {
         return(default(Offset <Benchmark.FBBench.Google.Bar>));
     }
     return(CreateBar(
                builder,
                _o.Parent.Id,
                _o.Parent.Count,
                _o.Parent.Prefix,
                _o.Parent.Length,
                _o.Time,
                _o.Ratio,
                _o.Size));
 }