public Bind(byte[] receive) { //initValue = new byte[receive.Length]; //receive.CopyTo(initValue, 0); header = new Head(receive); body = new Bodys(receive, Head.HeaderLength); header.Length = (ushort)(Head.HeaderLength + body.Length); }
public Bind(Head _header, byte[] _body) { header = _header; body = new Bodys(_body); header.Length = (ushort)(Head.HeaderLength + body.Length); }
public Bind(CenterCmd Command, byte[] _body) { header = new Head(Command); body = new Bodys(_body); header.Length = (ushort)(Head.HeaderLength + body.Length); }