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)); }
public static AddDmxDeviceChannel GetRootAsAddDmxDeviceChannel(ByteBuffer _bb, AddDmxDeviceChannel obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }