示例#1
0
 public static Offset <StateParam> CreateStateParam(FlatBufferBuilder builder,
                                                    StringOffset AccountIDOffset = default(StringOffset),
                                                    StringOffset ParamOffset     = default(StringOffset))
 {
     builder.StartObject(2);
     StateParam.AddParam(builder, ParamOffset);
     StateParam.AddAccountID(builder, AccountIDOffset);
     return(StateParam.EndStateParam(builder));
 }
示例#2
0
 public static StateParam GetRootAsStateParam(ByteBuffer _bb, StateParam obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }