package gapi-ocaml

  1. Overview
  2. Docs
A simple OCaml client for Google Services

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.4.8.tar.gz
sha256=5cc769af46198deb88707ccb50398088316e60f51db8c36389e6a2aae4c2ad30
md5=d918a22fde1b1d49a9783fb2f932d059

doc/gapi-ocaml.netstring-local/Netchannels/class-buffered_raw_out_channel/index.html

Class Netchannels.buffered_raw_out_channelSource

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.