/// <summary>
        /// The service options.
        /// </summary>
        /// <param name="totalLength">
        /// The total length.
        /// </param>
        /// <param name="options">
        /// The options.
        /// </param>
        private void ServiceOptions(uint totalLength, ServiceOptions options)
        {
            intend++;

            while (totalLength != 0)
            {
                int type, no;
                var l = GetTypeAndFieldNo(out type, out no);
                ix += l;
                totalLength -= (uint)l;

                switch (no)
                {
                    case 33: // bool deprecated
                        {
                            uint value;
                            var ixl = GetVarint(out value);
                            ix += ixl;
                            totalLength -= (uint)ixl;
                            options.Deprecated = value != 0;
                            Write(string.Format("Type = {0}, F#= {1}, Length = {2}, deprecated = {3}", type, no, ixl, value));
                            break;
                        }
                }
            }

            intend--;
        }