pdf.js
[pdf]のJS redererJS APIとbrowser向けviewerがセットになっている[https://mozilla.github.io/pdf.js/ PDF.js][/icons/github.icon][https://github.com/mozilla/pdf.js/ mozilla/pdf.js]code reading
src/api/PDFDocument.ts
の PDFDocument
がコア PDFDocument.load()
でbase64からPDFを読み込む PDFParser.parseDocument
でparse Promise<PDFContext>
を返す ByteStream
PDFRawStream
PDFStream
PDFObject
PDFContext
PDFHeader
1.7
enum CharCodes
で文字コードに名前をつけている