コード例 #1
0
 public static Offset <AddDmxDeviceChannel> CreateAddDmxDeviceChannel(FlatBufferBuilder builder,
                                                                      uint deviceId = 0,
                                                                      uint channel  = 0,
                                                                      byte norm     = 0,
                                                                      byte test     = 0)
 {
     builder.StartObject(4);
     AddDmxDeviceChannel.AddChannel(builder, channel);
     AddDmxDeviceChannel.AddDeviceId(builder, deviceId);
     AddDmxDeviceChannel.AddTest(builder, test);
     AddDmxDeviceChannel.AddNorm(builder, norm);
     return(AddDmxDeviceChannel.EndAddDmxDeviceChannel(builder));
 }
コード例 #2
0
 public static AddDmxDeviceChannel GetRootAsAddDmxDeviceChannel(ByteBuffer _bb, AddDmxDeviceChannel obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }