// public methods
        /// <inheritdoc/>
        public override void Close()
        {
            base.Close();

            if (CloseInput)
            {
                _wrappedReader.Close();
            }
        }