Ocamlnet 3 Reference Manual : Netchannels.lift_rec_in_channel

# Class Netchannels.lift_rec_in_channel

    class lift_rec_in_channel : ?start_pos_in:int -> rec_in_channel -> in_obj_channel

This class implements `pos_in` and the methods from `compl_in_channel` by calling the methods of `rec_in_channel`. There is no additional buffering.

The performance of the method `input_line` is very bad (consider to override it, e.g. by `enhanced_input_line` as defined below).

The method `pos_in` is implemented by counting the number of octets read by the `input` method.

`start_pos_in` : The initial value of the counter for `pos_in`. Defaults to 0.