Пример #1
0
 public static StatusInfo GetStatusInfo(this IoBuffer buffer)
 {
     StatusInfo obj = new StatusInfo();
     buffer.GetStatusInfo(ref obj);
     return obj;
 }
Пример #2
0
 public static void GetStatusInfo(this IoBuffer buffer, ref StatusInfo obj)
 {
      buffer.Get(obj.Bytes, 0, 4);
 }
Пример #3
0
 public static void PutStatusInfo(this IoBuffer buffer, StatusInfo obj)
 {
     buffer.Put(obj.Bytes);
 }