Set a string input.
Note that the input pointer must be valid while the parser object exists. The application is responsible for destroing input after destroying the parser.
| input |
A source data. |
| size |
The length of the source data in bytes. |