public PacketEntity(PacketHead head, byte[] byteContent) { this.head = head; this.byteContent = byteContent; }
public PacketEntity(PacketHead head, string strContent) { this.head = head; this.byteContent = Encoding.Default.GetBytes(strContent); }