Esempio n. 1
0
 public static Offset <Grammema> CreateGrammema(FlatBufferBuilder builder,
                                                int key   = 0,
                                                int value = 0)
 {
     builder.StartObject(2);
     Grammema.AddValue(builder, value);
     Grammema.AddKey(builder, key);
     return(Grammema.EndGrammema(builder));
 }
Esempio n. 2
0
 public static Grammema GetRootAsGrammema(ByteBuffer _bb, Grammema obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }