public static Offset <EnumEntry> CreateEnumEntry(FlatBufferBuilder builder, FruitFilter key = 0, int value = 7412) { builder.StartObject(2); EnumEntry.AddValue(builder, value); EnumEntry.AddKey(builder, key); return(EnumEntry.EndEnumEntry(builder)); }
public static EnumEntry GetRootAsEnumEntry(ByteBuffer _bb, EnumEntry obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }