示例#1
0
        public WksRecord(DataBuffer buffer, int length)
        {
            _ipAddress = buffer.ReadIPAddress();
            _protocol = buffer.ReadByte();
            _services = new Byte[length - 5];

            for (int i = 0; i < (length - 5); i++)
                _services[i] = buffer.ReadByte();
        }
示例#2
0
        public WksRecord(DataBuffer buffer, int length)
        {
            _ipAddress = buffer.ReadIPAddress();
            _protocol  = buffer.ReadByte();
            _services  = new Byte[length - 5];

            for (int i = 0; i < (length - 5); i++)
            {
                _services[i] = buffer.ReadByte();
            }
        }