Example #1
0
 public override PackageHeader CreatePackageHeader(byte[] data, int offset, int length)
 {
     if (length >= HeaderSize())
     {
         PackageHeader head = new PackageHeaderEx2();
         if (head.Unserial(data, offset))
         {
             return(head);
         }
     }
     return(null);
 }
Example #2
0
 public PackageEx2()
 {
     header = new PackageHeaderEx2();
 }