예제 #1
0
 public static Offset <DoubleEntry> CreateDoubleEntry(FlatBufferBuilder builder,
                                                      double key   = 0.0,
                                                      double value = 4567.0)
 {
     builder.StartObject(2);
     DoubleEntry.AddValue(builder, value);
     DoubleEntry.AddKey(builder, key);
     return(DoubleEntry.EndDoubleEntry(builder));
 }
예제 #2
0
 public static DoubleEntry GetRootAsDoubleEntry(ByteBuffer _bb, DoubleEntry obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }