The specified line is copied as-is, with no character encoding translation performed.
If the specified line ends with an LF ('\n'), the LF is not copied. It is up to the caller to write the LF, if desired, between output lines. @param out stream to copy the line data onto. @param i index of the line to extract. Note this is 0-based, so line number 1 is actually index 0. @throws IOException the stream write operation failed.
|
|
|
|
|
|