Beispiel #1
0
 public static Offset <AddCredits> CreateAddCredits(FlatBufferBuilder builder,
                                                    int amount = 0)
 {
     builder.StartObject(1);
     AddCredits.AddAmount(builder, amount);
     return(AddCredits.EndAddCredits(builder));
 }
Beispiel #2
0
 public static AddCredits GetRootAsAddCredits(ByteBuffer _bb, AddCredits obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }