public static Offset <Data_8b> CreateData_8b(FlatBufferBuilder builder, int val1 = 150, int val2 = 250) { builder.StartObject(2); Data_8b.AddVal2(builder, val2); Data_8b.AddVal1(builder, val1); return(Data_8b.EndData_8b(builder)); }
public static Data_8b GetRootAsData_8b(ByteBuffer _bb, Data_8b obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }