read_line_string


Description:

public IOStatus read_line_string (StringBuilder buffer, out size_t terminator_pos) throws ConvertError, IOChannelError

Reads a line from a IOChannel, using a StringBuilder as a buffer.

Parameters:

this

a IOChannel

buffer

a StringBuilder into which the line will be written. If buffer already contains data, the old data will be overwritten.

terminator_pos

location to store position of line terminator, or null

Returns:

the status of the operation.