Exemplo n.º 1
0
 public static Offset <GetDmxDeviceChannelRange> CreateGetDmxDeviceChannelRange(FlatBufferBuilder builder,
                                                                                uint deviceId  = 0,
                                                                                uint channelId = 0,
                                                                                byte range     = 0)
 {
     builder.StartObject(3);
     GetDmxDeviceChannelRange.AddChannelId(builder, channelId);
     GetDmxDeviceChannelRange.AddDeviceId(builder, deviceId);
     GetDmxDeviceChannelRange.AddRange(builder, range);
     return(GetDmxDeviceChannelRange.EndGetDmxDeviceChannelRange(builder));
 }
Exemplo n.º 2
0
 public static GetDmxDeviceChannelRange GetRootAsGetDmxDeviceChannelRange(ByteBuffer _bb, GetDmxDeviceChannelRange obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }