Exemple #1
0
        public List <byte> ToByteList()
        {
            List <byte> byteList = new List <byte>();

            byteList.AddRange(TCPHeader.ToByteList());
            byteList.AddRange(funNumRequestDataBase.ToByteList());

            return(byteList);
        }
Exemple #2
0
 public FunNumRequestDataTCP(IFunNumRequestDataBase funNumRequestDataBase)
 {
     this.funNumRequestDataBase = funNumRequestDataBase;
     TCPHeader = new TCPHeader(funNumRequestDataBase.ToByteList().Count());
 }