package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This class adds a buffer to the underlying raw_out_channel. * *

  • parameter buffer_size

    The size of the buffer, by default 4096. *

    @param pass_through

    If the write request has at least this size, * and the buffer is currently empty, the buffer will be bypassed. * Defaults to max_int, i.e. it is off.

method pos_out : int

Returns the current channel position. This position can be expected * to be consistent with the returned number of bytes of output, i.e. * when output 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.

OCaml

Innovation. Community. Security.