示例#1
0
文件: Bind.cs 项目: singlag888/NewWeb
        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);
        }
示例#2
0
文件: Bind.cs 项目: singlag888/NewWeb
 public Bind(Head _header, byte[] _body)
 {
     header        = _header;
     body          = new Bodys(_body);
     header.Length = (ushort)(Head.HeaderLength + body.Length);
 }
示例#3
0
文件: Bind.cs 项目: singlag888/NewWeb
 public Bind(CenterCmd Command, byte[] _body)
 {
     header        = new Head(Command);
     body          = new Bodys(_body);
     header.Length = (ushort)(Head.HeaderLength + body.Length);
 }