pdf.split_at
result = pdf.split_at(src, index)
Input: src, index · Output: result
What it is
Splits src into exactly two documents at index (numbered from 1): the first holds pages 1..index, the second index..page_count. Both halves must come out non-empty -- index must be strictly between 1 and the page count, refused by name otherwise.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
result = pdf.split_at(src, index) | src —not documented yetindex —not documented yet | result List or Vec | Returns a List of exactly 2 elements, each a Vec of bytes. |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.