Qu

pdf.extract_attachment

Builtin index · File I/O

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.

CodeInputOutputDescription
result = pdf.extract_attachment(src, filename)
src —not documented yet
filename —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.