Tests.vCardStandardReaderTests.DecodeEscaped_Sample C# (CSharp) Method

DecodeEscaped_Sample() private method

private DecodeEscaped_Sample ( ) : void
return void
        public void DecodeEscaped_Sample()
        {

            // The encoded string below caused an out of memory
            // exception in the code as of 8/26/2007.  The problem
            // was due a failure to increment the index (in DecodeEscaped)
            // when an invalid escape character was encountered.  The \r
            // was not recognized (and treated as invalid).

            const string address =
                @"129 15th Street #3\r\nMinneapolis\, MN 55403\r\nUnited States of America";

            vCardStandardReader.DecodeEscaped(address);

        }