Esempio n. 1
0
 public static Offset <BoolEntry> CreateBoolEntry(FlatBufferBuilder builder,
                                                  bool key   = false,
                                                  bool value = true)
 {
     builder.StartObject(2);
     BoolEntry.AddValue(builder, value);
     BoolEntry.AddKey(builder, key);
     return(BoolEntry.EndBoolEntry(builder));
 }
Esempio n. 2
0
 public static BoolEntry GetRootAsBoolEntry(ByteBuffer _bb, BoolEntry obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }