/* ----------------------------------------------------------------- */ /// /// 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); }
public static extern void kth_chain_async_block_by_height(IntPtr chain, IntPtr context, UInt64 height, GetBlockHandler handler);
public static extern void kth_chain_async_block_by_hash(IntPtr chain, IntPtr context, hash_t hash, GetBlockHandler handler);