How I can read pdf file from InputStream directly?
I tried to use my own wrapper that implements PDFStream but nothing.
By the way, InputStream from getAssets() working good. If I'm trying to use another streams -- still getting an error "Open Failed: Damaged or Invalid PDF file"
I've checked code with PDFStream and PDFFileStream classes. I want to open file from InputStream directly (using ZipInputStream) but not from file/buffer. Also I think that we can use only "seekable' streams (with reset(), skip() and markSupported() flag).
Yes, As I wrote before, I've created my own class that implements PDFStream (similar to PDFAssetStream). And unfortunately my source stream can't support skip() and reset() methods -- they raises IOException. By the way, main task is opening PDF from InputStream from ZIP archive directly.