Add rest-of-buffer type reading.