Returns the decompressed file contents of the attachment.
Wraps FPDFAttachment_GetFile.
Arguments
- att
A
pdfium_attachmenthandle frompdf_attachments().
Details
Use the returned raw vector directly with writeBin() to save
the embedded file to disk without re-encoding, or pass it to a
downstream parser (e.g. xml2::read_xml(rawToChar(bytes)) for
XML attachments).