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]); } }
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; }
public Int32MultiArrayMsg(MultiArrayLayoutMsg layout, int[] data) { _layout = layout; _data = data; }
public void UInt64MultiArrayMsg(MultiArrayLayoutMsg layout, long[] data) { _layout = layout; _data = data; }
public UInt16MultiArrayMsg(MultiArrayLayoutMsg layout, ushort[] data) { _layout = layout; _data = data; }