public static Offset <ButtplugFFI.LinearComponent> CreateLinearComponent(FlatBufferBuilder builder,
                                                                          uint index      = 0,
                                                                          uint duration   = 0,
                                                                          double position = 0.0)
 {
     builder.StartTable(3);
     LinearComponent.AddPosition(builder, position);
     LinearComponent.AddDuration(builder, duration);
     LinearComponent.AddIndex(builder, index);
     return(LinearComponent.EndLinearComponent(builder));
 }
 public static LinearComponent GetRootAsLinearComponent(ByteBuffer _bb, LinearComponent obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }