public static Offset <GetDmxDevice> CreateGetDmxDevice(FlatBufferBuilder builder, uint deviceId = 0, Offset <DmxDevice> deviceOffset = default(Offset <DmxDevice>)) { builder.StartObject(2); GetDmxDevice.AddDevice(builder, deviceOffset); GetDmxDevice.AddDeviceId(builder, deviceId); return(GetDmxDevice.EndGetDmxDevice(builder)); }
public static GetDmxDevice GetRootAsGetDmxDevice(ByteBuffer _bb, GetDmxDevice obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }