Exemple #1
0
 public static ProtocolId GetProtocolId(this IoBuffer buffer)
 {
     ProtocolId obj = new ProtocolId();
     buffer.GetProtocolId(ref obj);
     return obj;
 }
Exemple #2
0
 public static void GetProtocolId(this IoBuffer buffer, ref ProtocolId obj)
 {
     buffer.Get(obj.Id, 0, ProtocolId.PROTOID_SIZE);
 }
Exemple #3
0
 public static void PutProtocolId(this IoBuffer buffer, ProtocolId obj)
 {
     buffer.Put(obj.Id);
 }