Beispiel #1
0
 public static Offset <UpdaterState> CreateUpdaterState(FlatBufferBuilder builder,
                                                        StringOffset paramNameOffset          = default(StringOffset),
                                                        VectorOffset updaterStateKeysOffset   = default(VectorOffset),
                                                        VectorOffset updaterStateValuesOffset = default(VectorOffset))
 {
     builder.StartObject(3);
     UpdaterState.AddUpdaterStateValues(builder, updaterStateValuesOffset);
     UpdaterState.AddUpdaterStateKeys(builder, updaterStateKeysOffset);
     UpdaterState.AddParamName(builder, paramNameOffset);
     return(UpdaterState.EndUpdaterState(builder));
 }
Beispiel #2
0
 public static UpdaterState GetRootAsUpdaterState(ByteBuffer _bb, UpdaterState obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }