Example #1
0
 public static Offset <GraphVariableInfo> CreateGraphVariableInfo(FlatBufferBuilder builder,
                                                                  int id = 0,
                                                                  StringOffset typeNameOffset    = default(StringOffset),
                                                                  StringOffset valueStringOffset = default(StringOffset))
 {
     builder.StartObject(3);
     GraphVariableInfo.AddValueString(builder, valueStringOffset);
     GraphVariableInfo.AddTypeName(builder, typeNameOffset);
     GraphVariableInfo.AddId(builder, id);
     return(GraphVariableInfo.EndGraphVariableInfo(builder));
 }
Example #2
0
 public static GraphVariableInfo GetRootAsGraphVariableInfo(ByteBuffer _bb, GraphVariableInfo obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }