class input_descr :Creates a
?blocking:bool -> ?start_pos_in:int -> Unix.file_descr ->
raw_in_channelfor the passed file descriptor, which must be open for reading.
pos_in method returns logical positions, i.e. it counts the number
of read octets. It is not tried to determine the real file position.
close_in also closes the file descriptor.
blocking: Whether the channel waits for data if it is not possible to read from the (non-blocking) descriptor. Defaults to
start_pos_in: The position to which
pos_inis initialized when the channel is created, by default 0