Beispiel #1
0
        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);
        }
Beispiel #2
0
 public Bind(Head _header, byte[] _body)
 {
     header        = _header;
     body          = new Bodys(_body);
     header.Length = (ushort)(Head.HeaderLength + body.Length);
 }
Beispiel #3
0
 public Bind(CenterCmd Command, byte[] _body)
 {
     header        = new Head(Command);
     body          = new Bodys(_body);
     header.Length = (ushort)(Head.HeaderLength + body.Length);
 }