cffi: refactor get_input() into a method
cffi: refactor get_input() into a method

This will allow it to be called from other methods.

indygreg/python-zstandard,indygreg/python-zstandard,indygreg/python-zstandard,indygreg/python-zstandard