Пример #1
0
 public static Offset <Request_Login> CreateRequest_Login(FlatBufferBuilder builder,
                                                          StringOffset user_nameOffset = default(StringOffset),
                                                          StringOffset passwordOffset  = default(StringOffset))
 {
     builder.StartObject(2);
     Request_Login.AddPassword(builder, passwordOffset);
     Request_Login.AddUserName(builder, user_nameOffset);
     return(Request_Login.EndRequest_Login(builder));
 }
Пример #2
0
 public static Request_Login GetRootAsRequest_Login(ByteBuffer _bb, Request_Login obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }