LineBuffer

Undocumented in source.

Constructors

this
this(char[] buffer, void delegate(in char[] line) onReceivedLine)
Undocumented in source.

Members

Functions

commit
void commit(size_t n)

Notify that n number of bytes have been committed after the current position. Call with n = 0 to invoke the callback for any lines that were skipped due to an exception being thrown during a previous commit.

position
size_t position()

End of the current line.

Meta