コード例 #1
0
 public static Offset <ReqLogin> CreateReqLogin(FlatBufferBuilder builder,
                                                StringOffset accountOffset  = default(StringOffset),
                                                StringOffset passwordOffset = default(StringOffset))
 {
     builder.StartObject(2);
     ReqLogin.AddPassword(builder, passwordOffset);
     ReqLogin.AddAccount(builder, accountOffset);
     return(ReqLogin.EndReqLogin(builder));
 }
コード例 #2
0
 public static ReqLogin GetRootAsReqLogin(ByteBuffer _bb, ReqLogin obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }