Exemplo n.º 1
0
 public static Offset <StringEntry> CreateStringEntry(FlatBufferBuilder builder,
                                                      StringOffset keyOffset = default(StringOffset),
                                                      int value = 7890)
 {
     builder.StartObject(2);
     StringEntry.AddValue(builder, value);
     StringEntry.AddKey(builder, keyOffset);
     return(StringEntry.EndStringEntry(builder));
 }
Exemplo n.º 2
0
 public static StringEntry GetRootAsStringEntry(ByteBuffer _bb, StringEntry obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }