Exemple #1
0
 public void Serialize(Serialzer s)
 {
     s.PushUint(_magicCode);
     s.PushUint(_version);
     SerializeName.Serialize(s, _name);
     byte[] reserved = new byte[88];
     s.PushData(reserved);
 }
Exemple #2
0
 public void Serialize(Serialzer s)
 {
     s.PushUint(_flag);
     s.PushUint(_reserved0);
     SerializeName.Serialize(s, _name);
     s.PushUint(_maxPktSize);
     s.PushUint(_bufNum);
     s.PushUint(_lenAddr);
     s.PushUint(_dataAddr);
     s.PushUShort(_srcId);
     s.PushUShort(_firstDb);
     s.PushUint(_reserved1);
 }