コード例 #1
0
 public static Offset <ShortEntry> CreateShortEntry(FlatBufferBuilder builder,
                                                    short key   = -32768,
                                                    short value = -32768)
 {
     builder.StartObject(2);
     ShortEntry.AddValue(builder, value);
     ShortEntry.AddKey(builder, key);
     return(ShortEntry.EndShortEntry(builder));
 }
コード例 #2
0
 public static ShortEntry GetRootAsShortEntry(ByteBuffer _bb, ShortEntry obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }