pdf.extract_attachment
result = pdf.extract_attachment(src, filename)
Input: src, filename · Output: result
What it is
The raw bytes of the first embedded file named filename; a name that is not there is a named error.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
result = pdf.extract_attachment(src, filename) | src —not documented yetfilename —The raw bytes of the first embedded file named filename. | result Vec | Returns a Vec of bytes. |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.