Plasma GitLab Archive
Projects Blog Knowledge

Class type Netchannels.raw_in_channel

class type raw_in_channel = object .. end

Basic Unix-level class type for input channels as used by ocamlnet. In addition to the recommended standard, ocamlnet always support a position counter

Inherits
method pos_in : int

Returns the current channel position. This position can be expected to be consistent with the returned number of bytes of input, i.e. when input returns n, the position is advanced by n.

As seek operations are outside the scope of Netchannels, implementations may or may not take seek operations into account.

This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml