示例#1
0
 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));
 }
示例#2
0
 public static GetDmxDevice GetRootAsGetDmxDevice(ByteBuffer _bb, GetDmxDevice obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }