public override void WriteData(ArtNetBinaryWriter data)
        {
            base.WriteData(data);

            data.Write(TalkToMe);
            data.Write((byte)0);
        }
        public override void WriteData(ArtNetBinaryWriter data)
        {
            base.WriteData(data);

            data.Write(new byte[9]);
            data.Write(Net);
            data.Write((byte) Command);
            data.Write(Address);
        }
        public virtual void WriteData(ArtNetBinaryWriter data)
        {
            data.WriteNetwork(Protocol, 8);
            data.WriteNetwork((short)OpCode);

            //For some reason the poll packet header does not include the version.
            if (OpCode != ArtNetOpCodes.PollReply)
                data.WriteNetwork(Version);

        }
        public override void WriteData(ArtNetBinaryWriter data)
        {
            base.WriteData(data);

            data.Write(new byte[9]);
            data.Write(Net);
            data.Write(Command);
            data.Write((byte)RequestedUniverses.Count);
            data.Write(RequestedUniverses.ToArray());
        }
 public override void WriteData(ArtNetBinaryWriter data)
 {
     base.WriteData(data);
     
     data.Write(Sequence);
     data.Write(Physical);
     data.Write(Universe);
     data.WriteNetwork(Length);
     data.Write(DmxData);
 }
        public override void WriteData(ArtNetBinaryWriter data)
        {
            base.WriteData(data);

            data.Write(RdmVersion);
            data.Write(new byte[8]);
            data.Write(Net);
            data.Write(Command);
            data.Write(Address);
            data.Write(SubStartCode);
            data.Write(RdmData);
        }
        public override void WriteData(ArtNetBinaryWriter data)
        {
            base.WriteData(data);

            var writer = new ArtNetBinaryWriter(data.BaseStream);

            data.Write(RdmVersion);
            data.Write(Port);
            data.Write(new byte[7]);
            data.Write(Net);
            data.Write(Command);
            data.Write(Universe);
            writer.WriteNetwork(UIdTotal);
            data.Write(BlockCount);
            data.Write((byte)Devices.Count);

            foreach (UId id in Devices)
                writer.Write(id);
        }
 public override void WriteData(ArtNetBinaryWriter data)
 {
     base.WriteData(data);
     
     data.Write(IpAddress);
     data.Write(Port);
     data.WriteNetwork(FirmwareVersion);
     data.Write(NetSwitch);
     data.Write(SubSwitch);
     data.WriteNetwork(Oem);
     data.Write(UbeaVersion);
     //byte b = 0x04;
     //data.Write(b);
     data.Write((byte) Status);
     data.Write(EstaCode);
     data.WriteNetwork(ShortName,18);
     data.WriteNetwork(LongName,64);
     data.WriteNetwork(NodeReport,64);
     data.WriteNetwork(PortCount);
     data.Write(PortTypes);
     data.Write(GoodInput);
     data.Write(GoodOutput);
     data.Write(SwIn);
     data.Write(SwOut);
     data.Write(SwVideo);
     data.Write(SwMacro);
     data.Write(SwRemote);
     data.Write(new byte[3]);
     data.Write(Style);
     data.Write(MacAddress);
     data.Write(BindIpAddress);
     data.Write(BindIndex);
     data.Write(Status2);
     data.Write(new byte[26]);
 }