Mercurial > irccd
view doc/html/api/module/Irccd.File/method/readline.md @ 77:c5f4ca941f79
Irccd: add new Irccd.File.lines function, #445
While here also remove optional '\r' in Irccd.File.readline.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 30 Mar 2016 19:01:53 +0200 |
parents | 12dfbec74a9c |
children | 904ee87bc808 |
line wrap: on
line source
--- method: readline summary: "Read the next line available." synopsis: "File.prototype.readline()" returns: "The next line or undefined if eof." throws: "An [Irccd.SystemError](@baseurl@/api/module/Irccd/index.html#types) on failures." --- ## Remarks <div class="alert alert-warning" role="alert"> **Warning**: this method is slow and its usage is discouraged on large files. </div>