Пример #1
0
 public PacketEntity(PacketHead head, byte[] byteContent)
 {
     this.head        = head;
     this.byteContent = byteContent;
 }
Пример #2
0
 public PacketEntity(PacketHead head, string strContent)
 {
     this.head        = head;
     this.byteContent = Encoding.Default.GetBytes(strContent);
 }