Пример #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);
 }
Пример #2
0
 public PackageEx2()
 {
     header = new PackageHeaderEx2();
 }