public static Offset <AddDmxDeviceSetting> CreateAddDmxDeviceSetting(FlatBufferBuilder builder, uint deviceId = 0, uint settingId = 0) { builder.StartObject(2); AddDmxDeviceSetting.AddSettingId(builder, settingId); AddDmxDeviceSetting.AddDeviceId(builder, deviceId); return(AddDmxDeviceSetting.EndAddDmxDeviceSetting(builder)); }
public static AddDmxDeviceSetting GetRootAsAddDmxDeviceSetting(ByteBuffer _bb, AddDmxDeviceSetting obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }