Netchannels.buffered_raw_in_channelSourceThis class adds a buffer to the underlying raw_in_channel. * As additional feature, the method enhanced_input_line is a fast * version of input_line that profits from the buffer. * *
inherit raw_in_channelAn improved implementation of input_line that uses the buffer
method private enhanced_input : Bytes.t -> int -> int -> input_resultAn improved implementation of input_line that uses the buffer
Works similar to input, but distinguishes between normal data * and end-of-line separators. The latter are returned as * `Separator s. When normal data is found, it is copied to the * string, and `Data n is returned to indicate that n bytes * were copied.