public static StatusInfo GetStatusInfo(this IoBuffer buffer) { StatusInfo obj = new StatusInfo(); buffer.GetStatusInfo(ref obj); return obj; }
public static void GetStatusInfo(this IoBuffer buffer, ref StatusInfo obj) { buffer.Get(obj.Bytes, 0, 4); }
public static void PutStatusInfo(this IoBuffer buffer, StatusInfo obj) { buffer.Put(obj.Bytes); }