Plasma GitLab Archive
Projects Blog Knowledge

Class Netchannels.output_netbuffer

class output_netbuffer : ?onclose:unit -> unit -> Netbuffer.t -> out_obj_channel
This output channel writes the data into the passed netbuffer.

The method pos_out returns the number of written octets.

onclose : this function is called when the close_out method is invoked, just after the underlying descriptor has been closed.

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