PdfDocumentParserBase constructor
PdfDocumentParserBase(
- PdfRandomAccessReader reader, {
- bool enableCache = true,
- int cacheBlockSize = 256 * 1024,
- int cacheMaxBlocks = 32,
Creates a document loader instance.
Implementation
PdfDocumentParserBase(
PdfRandomAccessReader reader, {
bool enableCache = true,
int cacheBlockSize = 256 * 1024,
int cacheMaxBlocks = 32,
}) : reader = enableCache
? PdfCachedRandomAccessReader(
reader,
blockSize: cacheBlockSize,
maxBlocks: cacheMaxBlocks,
)
: reader;