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)); }
public static ReqLogin GetRootAsReqLogin(ByteBuffer _bb, ReqLogin obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }