chapel-lang/chapel — pull request #167 by benharsh (2014-08-19 22:09:35+00:00)
Title: Reading a line from a file into an array.

This feature allows users to read a line from a file into a 1D rectangular array of type uint(8). One can specify the array index at which to store the line, and whether or not to include the newline. The 'numRead' argument informs the caller how many bytes were read from the file.

This functionality is preferred when dealing with large amounts of binary information, especially if it needs to be modified quickly.