Exemple #1
0
 public static Offset <PublicSvrConfig> CreatePublicSvrConfig(FlatBufferBuilder builder,
                                                              StringOffset hostOffset = default(StringOffset),
                                                              StringOffset portOffset = default(StringOffset),
                                                              StringOffset dbOffset   = default(StringOffset))
 {
     builder.StartObject(3);
     PublicSvrConfig.AddDb(builder, dbOffset);
     PublicSvrConfig.AddPort(builder, portOffset);
     PublicSvrConfig.AddHost(builder, hostOffset);
     return(PublicSvrConfig.EndPublicSvrConfig(builder));
 }
Exemple #2
0
 public static PublicSvrConfig GetRootAsPublicSvrConfig(ByteBuffer _bb, PublicSvrConfig obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }