int it;
for(it = 0; it < 512; it++) {
try {
InputStream str = getAssets().open("test.PDF");
byte data[] = new byte[115557];
str.read(data);
Document doc1 = new Document();
doc1.OpenMem(data, null);
doc1.Close();
str.close();
} catch (IOException e) {
e.printStackTrace();
}
}
For more info check this : http://www.radaeepdf.com/documentation/javadocs/com/radaee/pdf/Document.html#OpenMem-byte:A-java.lang.String-
RadaeePDF SDK for Android, RadaeePDF Master SDK
Created : 2016-06-22 10:36:05, Last Modified : 2018-02-07 09:33:29