fast buffered line-at-a-time newline terminated data input