Пример #1
0
        /* ----------------------------------------------------------------- */
        ///
        /// PdfiumReader
        ///
        /// <summary>
        /// Initializes a new instance of the PdfiumReader class with the
        /// specified arguments.
        /// </summary>
        ///
        /// <param name="src">Path of the source PDF file.</param>
        /// <param name="io">I/O handler.</param>
        ///
        /* ----------------------------------------------------------------- */
        private PdfiumReader(string src, IO io)
        {
            Source = src;
            IO     = io;

            _stream  = IO.OpenRead(src);
            _handler = new GetBlockHandler(Read);
        }
Пример #2
0
 public static extern void kth_chain_async_block_by_height(IntPtr chain, IntPtr context, UInt64 height, GetBlockHandler handler);
Пример #3
0
 public static extern void kth_chain_async_block_by_hash(IntPtr chain, IntPtr context, hash_t hash, GetBlockHandler handler);