FastIRC::Reader
Reads an IO stream and outputs a stream of Message objects.
TODO: use a circular buffer to reduce memory copies?
Constructors
Instance methods
next
Reads the next IRC message from the IO, or returns nil on EOF.
irc_reader = FastIRC::Reader.new(io)
while message = irc_reader.next
message.command # => "PRIVMSG" : String
end