public static Offset <AddDmxDeviceChannel> CreateAddDmxDeviceChannel(FlatBufferBuilder builder, uint deviceId = 0, uint channelId = 0) { builder.StartObject(2); AddDmxDeviceChannel.AddChannelId(builder, channelId); AddDmxDeviceChannel.AddDeviceId(builder, deviceId); return(AddDmxDeviceChannel.EndAddDmxDeviceChannel(builder)); }
public static AddDmxDeviceChannel GetRootAsAddDmxDeviceChannel(ByteBuffer _bb, AddDmxDeviceChannel obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }