Appends data to data that can be read from the input stream
input data
function that is called to free data, or NULL
Appends data to data that can be read from the input stream