0

我正在创建一个这样的平面缓冲区:

FlatBufferBuilder fbb = new FlatBufferBuilder(1);

    SaveSchema.startLogin(fbb);

    SaveSchema.addEmail(fbb, fbb.createString("EMAILCHE"));

    int offset = SaveSchema.endLogin(fbb);

    SaveSchema.finishLoginBuffer(fbb, offset);

我的架构:

namespace Objects;


    table Login {
      email:string;
      password:string;
    }

    root_type Login;
    file_identifier "LOGN";

我收到以下错误:

FlatBuffers:对象序列化不能嵌套

4

0 回答 0