Ejemplo n.º 1
0
 public static void GetEncapsulationScheme(this IoBuffer buffer, ref EncapsulationScheme obj)
 {
     obj.B0 = buffer.Get();
     obj.B1 = buffer.Get();
     obj.B2 = buffer.Get();
     obj.B3 = buffer.Get();
 }
Ejemplo n.º 2
0
 public static void PutEncapsulationScheme(this IoBuffer buffer, EncapsulationScheme msg)
 {
     buffer.Put(msg.B0);
     buffer.Put(msg.B1);
     buffer.Put(msg.B2);
     buffer.Put(msg.B3);
 }
Ejemplo n.º 3
0
 public static EncapsulationScheme GetEncapsulationScheme(this IoBuffer buffer)
 {
     EncapsulationScheme obj = new EncapsulationScheme();
     obj.B0 = buffer.Get();
     obj.B1 = buffer.Get();
     obj.B2 = buffer.Get();
     obj.B3 = buffer.Get();
     return obj;
 }