galkahana / HummusJS

Node.js module for high performance creation, modification and parsing of PDF files and streams
http://www.pdfhummus.com
Other
1.14k stars 169 forks source link

TypeError: stream.setPosition is not a function #378

Closed astefanutti closed 5 years ago

astefanutti commented 5 years ago

When using DocumentCopyingContext::getSourceDocumentStream or PDFReader::getParserStream, a ByteWriterWithPosition object is returned instead of a ByteReaderWithPosition object.