Read data from io.Reader