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.
For safe reading, I would expect to see an argument that gave the maximum number of bytes that could be written into the target array.  Otherwise, you are leaving the code open to buffer overrun.