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

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

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