package irc-client
Module Irc_helpers
Helper functions for buffering data as it is read from a socket.
Split a string str at each occurrence of the character c
val handle_input : buffer:Buffer.t -> input:string -> string listGiven a buffer and a string input, append the input to the buffer, return all whole lines present in the buffer, and reinitialise the buffer to contain only the substring which follows all the whole lines.