public static Offset <GetDmxDeviceChannel> CreateGetDmxDeviceChannel(FlatBufferBuilder builder, uint deviceId = 0, uint channelId = 0) { builder.StartObject(2); GetDmxDeviceChannel.AddChannelId(builder, channelId); GetDmxDeviceChannel.AddDeviceId(builder, deviceId); return(GetDmxDeviceChannel.EndGetDmxDeviceChannel(builder)); }
public static GetDmxDeviceChannel GetRootAsGetDmxDeviceChannel(ByteBuffer _bb, GetDmxDeviceChannel obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }