예제 #1
0
        internal static void CrashDump(long start, long end, PdfStream st)
        {
            if (start == -1)
            {
                return;
            }

            Console.WriteLine("------------------------------------------------------------------------");
            Console.WriteLine("OpenPdf Crash Dump.");
            Console.WriteLine("");
            Console.WriteLine("The following block caused a parsing error.");
            Console.WriteLine("");
            Console.WriteLine(st.ReadRange(start, end));
            Console.WriteLine("------------------------------------------------------------------------");
        }