public UInt8MultiArrayMsg(JSONNode msg)
 {
     _layout = new MultiArrayLayoutMsg(msg["layout"]);
     _data   = new byte[msg["data"].Count];
     for (int i = 0; i < _data.Length; i++)
     {
         _data[i] = byte.Parse(msg["data"][i]);
     }
 }
Exemple #2
0
 public Int64MultiArrayMsg(JSONNode msg)
 {
     _layout = new MultiArrayLayoutMsg(msg["layout"]);
     _data   = new long[msg["data"].Count];
     for (int i = 0; i < _data.Length; i++)
     {
         _data[i] = long.Parse(msg["data"][i]);
     }
 }
 public UInt8MultiArrayMsg(MultiArrayLayoutMsg layout, byte[] data)
 {
     _layout = layout;
     _data   = data;
 }
Exemple #4
0
 public Int32MultiArrayMsg(MultiArrayLayoutMsg layout, int[] data)
 {
     _layout = layout;
     _data   = data;
 }
Exemple #5
0
 public void UInt64MultiArrayMsg(MultiArrayLayoutMsg layout, long[] data)
 {
     _layout = layout;
     _data   = data;
 }
 public UInt16MultiArrayMsg(MultiArrayLayoutMsg layout, ushort[] data)
 {
     _layout = layout;
     _data   = data;
 }